dojox/timing/Streamer (version 1.10)

Summary

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 output function at the passed interval; this way you can emulate a constant buffered stream of data.

Usage

Streamer(input,output,interval,minimum,initialData);
Parameter Type Description
input function

the function executed when the internal queue reaches minimumSize

output function

the function executed on internal tick

interval int

the interval in ms at which the output function is fired.

minimum int

the minimum number of elements in the internal queue.

initialData array

See the dojox/timing/Streamer reference documentation for more information.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!