TimerQueue

class haxe.TimerQueueAvailable in flash8, flash, jsExecutes sequentially all added functions once after the delay.
Note: It behaves the same way as a set of calls to Timer.delay() except it gives some guarantee over execution order.
function new( ?delay : Int ) : VoidCreate a new timerQueue that will execute all added functions once after delay milliseconds (default value 1). function add( f : Void -> Void ) : VoidAdded functions are executed sequentially in the order they have been added to the TimerQueue.
version #13425, modified 2012-04-12 22:30:09 by api

0 Comments