Function relay::channel
[−]
[src]
pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Create a new channel to send a message.
pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Create a new channel to send a message.