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.
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.