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

Creates a new asynchronous channel, where the Receiver can be registered with Poll.