broadcast • Rust AI Agent SDK

broadcast: Broadcast an event to all connected clients.

broadcast

Async

Method

</div>

This is a method of the GatewayProtocol class in the gateway module.

Broadcast an event to all connected clients.

Signature

python
async def broadcast(&self, event: GatewayEvent, exclude: Option<Vec<String>>) -> Result<()>

Parameters

ParamField GatewayEvent

No description available.

ParamField Option&lt;Vec&lt;String&gt;&gt;

No description available.