IWheelTimer

The timer parent's class.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

TimerWheel
alias TimerWheel = ITimingWheel!Allocator
Undocumented in source.
WheelTimer
alias WheelTimer = IWheelTimer!Allocator
Undocumented in source.

Functions

isActive
bool isActive()

the time is active.

onTimeOut
void onTimeOut()

the function will be called when the timer timeout.

rest
void rest(size_t next)

rest the timer.

stop
void stop()

stop the time, it will remove from Wheel.

Properties

oneShop
oneShop [@property getter]

get the timer only run once.

oneShop
bool oneShop [@property setter]

set the timer only run once.

Meta