sleep

Function sleep 

Source
pub fn sleep(duration: Duration) -> Sleeper 
Expand description

same as after but return () to make it compatible as previous