ThreadTimer

A timer based on a thread.

This timer ensures a minimal interval but not a periodicity.

class ThreadTimer : BaseTimer {}

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Inherited Members

From BaseTimer

start
void start()

Starts the timer.

stop
void stop()

Stops the timer.

active
void active(bool value)
bool active()

Starts or stops the timer or indicates its status.

interval
void interval(uint value)
uint interval()

Sets or gets the interval, in milliseconds, between each onTimer event.

onTimer
void onTimer(void delegate(Object) value)
void delegate(Object) onTimer()

Sets or gets the event called when at least interval milliseconds have ellapsed.

Meta