Skip to main content

shutdown_requested

Function shutdown_requested 

fn shutdown_requested(rx: &mut Receiver<()>) -> bool
Available on crate feature tokio only.
Expand description

true once EventLoopHandle was stopped or dropped. Consumes the signal. The caller must exit without polling rx again.