channel

Function channel 

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

Create a new asynchronous channel