Skip to main content

sleep

Function sleep 

Source
pub async fn sleep(duration: Duration)
Expand description

Short helper for tests + snapshot code to sleep between state transitions. Exposed on the crate boundary to keep test timing centralized.