stratus::ext

Function traced_sleep

Source
pub async fn traced_sleep(duration: Duration, reason: SleepReason)
Expand description

Sleeps the current task and tracks why it is sleeping.