Skip to main content

sleep

Function sleep 

Source
pub fn sleep(sleep_duration: Duration<SystemClock>)
Expand description

Blocks the execution of the current thread for at least the specified duration. This function may block for longer due to scheduling or resource contention delays.