Function exit_future::signal[][src]

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.