Skip to main content

sleep_until

Function sleep_until 

Source
pub fn sleep_until(wakeup_time: Instant<SystemClock>)
Expand description

Blocks the execution of the current thread until at least the specified time has been reached. This function may block for longer due to scheduling or resource contention delays.