Constructordojox.timing.Streamer

dojo.require("dojox.timing.Streamer");
defined in dojox/timing/Streamer.js

Streamer will take an input function that pushes N datapoints into a queue, and will pass the next point in that queue out to an

Usage

function (/*Function*/ input, /*Function*/ output, /*Integer*/ interval, /*Integer*/ minimum, /*Array*/ initialData) (view source)
parametertypedescription
inputFunctionthe function executed when the internal queue reaches minimumSize
outputFunctionthe function executed on internal tick
intervalIntegerthe interval in ms at which the output function is fired.
minimumIntegerthe minimum number of elements in the internal queue.
initialDataArray 

Jump to PropertiesFunctionsBack to top

sets the interval in milliseconds of the internal timer
starts the Streamer
Functionstop()
stops the Streamer

Jump to FunctionsPropertiesBack to top

interval in ms at which the output function is fired.