Skip to main content

sleep

Function sleep 

Source
fn sleep(dur: Duration) -> Pin<Box<dyn Future<Output = ()> + Send>>
Expand description

Runtime-agnostic sleep returning a ()-future (via futures-time).