pub fn sleep(duration: Duration) -> Sleep ⓘ
Expand description
Waits until duration
has elapsed.
An asynchronous analog to std::thread::sleep
.
pub fn sleep(duration: Duration) -> Sleep ⓘ
Waits until duration
has elapsed.
An asynchronous analog to std::thread::sleep
.