mesh

Function mpsc_channel

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

Creates a new channel for sending messages of type T, returning the sender and receiver ends.