Skip to main content

sleep

Function sleep 

Source
pub fn sleep(duration: Duration) -> Delay ⓘ
Expand description

Create a delay future that completes after the specified duration