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

A create a channel intended for one-shot uses, for example the channels created to block on a synchronous query and then discarded,