EveSessionDriver.timerDelayMillis

private long timerDelayMillis(Duration remaining) static pure nothrow

Converts a deadline duration to the event loop's millisecond unit.

Positive fractional milliseconds round up so an early zero-delay callback cannot repeatedly re-arm before the actual deadline.

Parameters

remainingTime remaining until the deadline.

Returns

Non-negative timer delay in milliseconds.