emit • AI Agent SDK

emit: Emit an event to registered handlers.

emit

Async

Method

</div>

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

Emit an event to registered handlers.

Signature

python
async def emit(event: GatewayEvent) -> None

Parameters

ParamField GatewayEvent

No description available.

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1457