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
def emit(&self, event: &StreamEvent) -> ()Parameters
ParamField
&StreamEventNo description available.
Returns
ResponseField
()The result of the operation.