reth_tasks::shutdown

Function signal

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

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