[−][src]Function dialectic::backend::mpsc::unbounded_channel
pub fn unbounded_channel<'a>() -> (UnboundedSender<'a>, UnboundedReceiver<'a>)
This is supported on crate feature
mpsc
only.Create an unbounded mpsc channel for transporting dynamically typed values.
This is shorthand for tokio::sync::mpsc::channel::<Box<dyn Any + Send>>
. See
tokio::sync::mpsc::unbounded_channel
.
Examples
let (tx, rx) = dialectic::backend::mpsc::unbounded_channel();