Timer with signals

Static methods

staticinlinedelay(time:Time, f:() ‑> Void):Timer

staticinlinerepeat(time:Time, f:() ‑> Void):Timer

Constructor

@:value({ repeatCount : 0 })new(?time:TimeInterval, repeatCount:Int = 0)

Variables

read onlycomplete:Signal1<DT>

read onlyprogress:Signal1<Float>

@:value(0)repeatCount:Int = 0

read onlystarted:Bool

read onlyupdate:Signal1<Time>

Methods

destroy():Void

inlinerestart(?dt:DT):Void

inlineset_repeatCount(value:Int):Int