Function crossbus::address::channel

source ·
pub fn channel<M: Message>() -> (Sender<M>, Receiver<M>)
Expand description

An asynchronous thread-safe mpsc(multiple producer single consumer) channel that used to communicate with between actors and threads