[−][src]Function safina::sleep_until
pub async fn sleep_until(deadline: Instant)
Returns after deadline
.
Panics if start_timer_thread()
has not been called.
If you need to handle this error, use SleepFuture::new
.
pub async fn sleep_until(deadline: Instant)
Returns after deadline
.
Panics if start_timer_thread()
has not been called.
If you need to handle this error, use SleepFuture::new
.