emit • Rust AI Agent SDK

emit: Emit an event to all callbacks

emit

Method

</div>

This is a method of the StreamHandler class in the streaming module.

Emit an event to all callbacks

Signature

python
def emit(&self, event: &StreamEvent) -> ()

Parameters

ParamField &StreamEvent

No description available.

Returns

ResponseField ()

The result of the operation.