Skip to main content

wait_for_driver_shutdown

Function wait_for_driver_shutdown 

Source
pub(crate) async fn wait_for_driver_shutdown(shutdown: Receiver<bool>)
Expand description

Wait until Driver(CMD_SHUTDOWN) has published TERMINATED. A watch channel preserves a shutdown sent before this particular waiter starts polling.