Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

AsyncStreamCallback

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

Methods

on_event

async fn on_event(&self, event: &StreamEvent) -> ()
Called when a stream event is emitted (async) Parameters:
NameType
event&StreamEvent

Source

View on GitHub

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

Rust Execution

Rust Parallel Execution