tokio_timer

Function sleep

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

Create a Future that completes in duration from now.