Available on macro
Timers.
See also:
https://aantron.github.io/luv/luv/Luv/Timer
staticread onlydueIn:Int
Evaluates to the time until the timer expires, or zero if it has already expired.
staticrepeat:Int
The timer repeat interval.
@:noExprstaticagain(this:Timer):Result<NoData>
Restarts a timer.
@:noExprstaticinit(loop:Loop):Result<Timer>
Allocate and initialize an idle handle.
The handle should be cleaned up with eval.luv.Handle.close when no longer needed.
eval.luv.Handle.close
@:noExprstaticstart(this:Timer, callback:() ‑> Void, timeoutMs:Int, ?repeatMs:Int):Result<NoData>
Starts a timer.
@:noExprstaticstop(this:Timer):Result<NoData>
Stops a timer.