pub fn channel() -> (ShutdownSender, ShutdownReceiver)
Expand description
Creates a broadcasting shutdown channel.
The sending side is responsible for initiating a shutdown. The receiving side is responsible for responding to shutdowns.
pub fn channel() -> (ShutdownSender, ShutdownReceiver)
Creates a broadcasting shutdown channel.
The sending side is responsible for initiating a shutdown. The receiving side is responsible for responding to shutdowns.