TimerWheel.nextDeadlineMs

int nextDeadlineMs() const pure @safe nothrow @nogc

Return the number of milliseconds until the next timer is scheduled to fire.

Returns

Milliseconds until next expiry, or -1 if the wheel is empty.