[−][src]Function safina::sleep_for
pub async fn sleep_for(duration: Duration)
Returns duration
time from now.
Panics if start_timer_thread()
has not been called.
If you need to handle this error, use SleepFuture::new
.
pub async fn sleep_for(duration: Duration)
Returns duration
time from now.
Panics if start_timer_thread()
has not been called.
If you need to handle this error, use SleepFuture::new
.