TimingWheels.ticksUntilNextEvent

count "empty" ticks - slots without events. If you have empty ticks it is safe to sleep - you will not miss anything, just wake up at the time when next timer have to be processed.

struct TimingWheels(T)
int
ticksUntilNextEvent
()

Return Value

Type: int

number of empty ticks.

Meta