Skip to main content

delay

Function delay 

Source
pub fn delay(duration: Duration) -> Result<()>
Expand description

Delays the execution of the current task for at least the specified duration.

ยงArguments

  • duration: The minimum amount of time to delay.