Skip to main content

get_event_bus

Function
This function is defined in the bus module.
Get the global event bus

Signature

def get_event_bus() -> &'static EventBus

Returns

Returns
&'static EventBus
The result of the operation.

Uses

  • get_or_init

Source

View on GitHub

praisonai/src/bus/mod.rs at line 399