Function patchable_async_sleep::sleep

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

Sleep for the specified duration.