drone_core::sync::spsc::pulse
pub fn channel<E>() -> (Sender<E>, Receiver<E>)
Creates a new pulse channel, returning the sender/receiver halves.
The Sender half is used to signal a number of pulses. The Receiver half is a Stream that reads the number of pulses signaled from the last polling.
Sender
Receiver
Stream