Function tokio_timer::sleep [] [src]

pub fn sleep(duration: Duration) -> Delay

Create a Future that completes in duration from now.