Skip to main content

AsyncStreamCallback

Defined in the streaming module.
Rust AI Agent SDK Trait for asynchronous stream event callbacks.

Methods

on_event

Called when a stream event is emitted (async) Parameters:

Source

View on GitHub

praisonai/src/streaming/mod.rs at line 0

Rust Execution

Rust Parallel Execution