Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

subscribe_all

Function
This function is defined in the bus module.
Subscribe to all events on the global bus

Signature

def subscribe_all(handler: F) -> usize
where
    F: Fn(&Event) + Send + Sync + 'static,

Parameters

handler
F
required
No description available.

Returns

Returns
usize where F: Fn(&Event) + Send + Sync + 'static,
The result of the operation.

Uses

  • get_event_bus
  • subscribe_all

Source

View on GitHub

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