Function sleep

Source
pub fn sleep(duration: Duration) -> impl Future<Output = ()>
Expand description

Sleep for the specified duration.