pub fn sleep( runtime: &dyn Runtime, duration: Duration, ) -> BoxFuture<'static, ()>
Waits duration on runtime’s clock.
duration
runtime