Timer

Represents a timer.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
rearm
void rearm(Duration dur, bool periodic)

Resets the timer to the specified timeout

stop
void stop()

Resets the timer and avoids any firing.

wait
void wait()

Waits until the timer fires.

Properties

id
size_t id [@property getter]

The internal ID of the timer.

pending
bool pending [@property getter]

True if the timer is yet to fire.

Meta