Skip to main content

sleep

Function sleep 

Source
pub fn sleep(dur: Duration)
Expand description

For single-task situation, we just busy wait for the given duration.