Skip to main content

Module streaming

Module streaming 

Source
Expand description

Streaming responses — chunked output for long-running tasks Compatible with HTTP Server-Sent Events (SSE)

Structs§

StreamChunk
Streaming output chunk

Functions§

collect_stream
Collect all chunks into a final response
stream_channel
Create a streaming channel

Type Aliases§

StreamReceiver
Stream receiver — use for WebSocket/SSE responses
StreamSender
Stream sender — used internally by agent loop