Skip to main content

signal

Function signal 

Source
pub fn signal() -> AsyncReceiver<Arc<[Signal]>> ⓘ
Expand description

Registers interest in the next batch of signals.

The returned one-shot receiver handles one notification. Call this function again after each notification to continue receiving signals.