Skip to main content

sleep

Function sleep 

Source
pub fn sleep(dur: Duration)
Expand description

Current thread is going to sleep for the given duration.