Timers

A collection of timers.

Members

Functions

empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
expireAt
Duration expireAt(Duration defaultSleep)

Get how long until the next timer expire. The default is defaultSleep.

front
Timer front()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(Timer.Action action, Duration d)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(Timer.Action action, SysTime t)
Undocumented in source. Be warned that the author may not have intended to support it.
sleep
void sleep(Duration defaultSleep)

Sleep until the next action triggers.

tick
void tick(Duration defaultSleep)

Sleep until the next action triggers and execute it, if there are any.

Meta