Function may::coroutine::park_timeout
source · pub fn park_timeout(dur: Duration)
Expand description
timeout block the current coroutine until it’s get unparked
pub fn park_timeout(dur: Duration)
timeout block the current coroutine until it’s get unparked