Function exit_future::signal
source · pub fn signal() -> (Signal, Exit)Expand description
Create a signal and exit pair. Exit is a future that resolves when the Signal object is
either dropped or has fire called on it.
pub fn signal() -> (Signal, Exit)Create a signal and exit pair. Exit is a future that resolves when the Signal object is
either dropped or has fire called on it.