Skip to main content

wait

Function wait 

Source
async fn wait(length: Duration, control: &Control) -> bool
Expand description

Waits length, or less when stopped or nudged; on the wall clock too (see Deadline). Whether it was nudged.