Skip to main content

Module streaming

Module streaming 

Source
Expand description

Streaming abstraction — channel-based streaming for agent output.

Provides StreamingSender and StreamingReceiver for streaming text chunks and tool results from agent execution.

Structs§

StreamingReceiver
Receiver side — used by UI/consumer to read chunks.
StreamingSender
Sender side — used by agent loop to emit chunks.

Enums§

StreamChunk
A chunk of streaming output.

Functions§

streaming_channel
Create a streaming channel pair.