pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Expand description

Constructs a pair of oneshot endpoints