Skip to main content

channel

Function channel 

Source
pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Available on crate feature process-node only.
Expand description

Create an unbounded multi-producer single-consumer channel.