Skip to main content

wait_with_notify

Function wait_with_notify 

Source
pub async fn wait_with_notify(notify: &Notify, max_wait: Duration) -> bool
Expand description

Wait with notification - more efficient than polling