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