Skip to main content

get_message_bus

Function get_message_bus 

Source
pub fn get_message_bus() -> Rc<RefCell<MessageBus>>
Expand description

Gets the thread-local message bus.

If no message bus has been set for this thread, a default one is created and initialized.