pub fn next_timer_delay_ms() -> Option<u64>Expand description
Milliseconds until the earliest pending timer on the global
executor, measured on the installed TimeSource’s axis.
Some(0)— a timer has already expired; callflush_allto fire it.Some(n)— the earliest timer fires innms; an event-loop host should schedule a wake-up (e.g. winitControlFlow::WaitUntil) so the flush actually happens at that time.None— no pending timers, or noTimeSourceinstalled (without aTimeSourceevery timer expires on the next flush anyway).