Skip to main content

TaskEventStream

Type Alias TaskEventStream 

Source
pub type TaskEventStream = Pin<Box<dyn Stream<Item = TaskEvent> + Send>>;
Expand description

Pinned, boxed stream of TaskEvents. Returned by A2aDispatcher::dispatch_streaming and consumed by the HTTP transport’s SSE response builder.

Aliased Type§

pub struct TaskEventStream { /* private fields */ }