sleep
task
0.1.0
task
Function
sleep
Copy item path
Source
pub async fn sleep(duration: impl
Into
<
Duration
>)
Expand description
Sleep the current thread for a given duration.