publish • Rust AI Agent SDK

publish: Publish an event to the global bus

publish

Function

</div>

This function is defined in the bus module.

Publish an event to the global bus

Signature

python
def publish(event: Event) -> ()

Parameters

ParamField Event

No description available.

Returns

ResponseField ()

The result of the operation.

Uses

  • get_event_bus
  • publish

Source

View on GitHub

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