anvil::shutdown

Function signal

Source
pub fn signal() -> (Signal, Shutdown)
Expand description

Create a channel pair that’s used to propagate shutdown event