sleep

Function sleep 

Source
pub async fn sleep(duration: Duration)
Expand description

Pauses the current task for some time.