Skip to main content

Module msgbus

Module msgbus 

Source
Expand description

Python bindings for the message bus, including configuration types and the PyMessageBus wrapper that routes Python events through the Rust thread-local MessageBus via the Any-based dispatch path.

Structs§

MessageBusFactoryRegistry
Registry for Python message bus backing factory extractors.
PyCallableHandler
Adapts a Python callable as a ShareableMessageHandler.
PyMessage
Wraps a Python object so it can travel through the Rust Any-based message bus.
PyMessageBus
Python message bus backed by the Rust thread-local MessageBus.

Functions§

get_global_msgbus_factory_registry
Returns the global Python message bus backing factory registry.

Type Aliases§

MessageBusFactoryExtractor
Function type for extracting a Python object into a boxed message bus backing factory.