pub async fn traced_sleep(duration: Duration, reason: SleepReason)
Expand description
Sleeps the current task and tracks why it is sleeping.
pub async fn traced_sleep(duration: Duration, reason: SleepReason)
Sleeps the current task and tracks why it is sleeping.