TimerExt.registerMicrosec

Registers a timer with the extension. The provided delegate will be called once after the initial delay specified, then repeatedly according to the specified period, as long as it returns true.

Note that this internal method is called both from the public register() methods and the private eventFired().

class TimerExt
void
registerMicrosec

Parameters

dg EventDg

delegate to call periodically

init_microsec ulong

microseconds before initial call of the delegate

period_microsec ulong

microseconds between subsequent calls of the delegate

Meta