Listener

Object module for tracking some global events like timers, global event handlers, etc.

Members

Functions

clearTimers
void clearTimers()
Undocumented in source. Be warned that the author may not have intended to support it.
eventHandle
void eventHandle(EventHandler event)
Undocumented in source. Be warned that the author may not have intended to support it.
globalEvent
void globalEvent(void delegate(EventHandler) @(safe) func)

Supply a function to handle events, no matter what the scene.

timer
Timer* timer(void delegate() @(safe) func, Duration duration, bool isRepeat)

Start a timer.

timerHandle
void timerHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
timerStop
void timerStop(Timer* tm)

Stop the timer if there is such an instance.

Meta