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.

broadcast

AsyncMethod
This is a method of the GatewayProtocol class in the protocols module.
Broadcast an event to all connected clients.

Signature

async def broadcast(event: GatewayEvent, exclude: Optional[List[str]]) -> None

Parameters

event
GatewayEvent
required
The event to broadcast
exclude
Optional
Optional list of client IDs to exclude

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 379