reth::tasks::shutdown

Function signal

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

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