Namespacedojox.timing

A set of objects to perform advanced time-based tasks, including a basic Timer.

Jump to PropertiesConstructorsBack to top

This class provides functionality to really sequentialize function calls. You need to provide a list of functions and some parameters for each (like: pauseBefore) and they will be run one after another. This can be very useful for slideshows or alike things.
Constructordojox.timing.Streamer(input: Function, output: Function, interval: Integer, minimum: Integer, initialData: Array)
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
Timer object executes an "onTick()" method repeatedly at a specified interval. repeatedly at a given interval.

Jump to ConstructorsPropertiesBack to top