pub fn delay(duration: Duration) -> Result<()>
Delays the execution of the current task for at least the specified duration.
duration