Skip to content

streaming

A2A v1.0 Streaming Event Types

Streaming status update event.

Fields

FieldTypeDescription
idserde_json::Value
task_idString
context_idString
statusTaskStatus

Streaming artifact update event.

Fields

FieldTypeDescription
idserde_json::Value
task_idString
context_idString
artifactArtifact
appendOption<bool>
last_chunkOption<bool>

Top-level SSE stream envelope (v1.0).

Variants

VariantDescription
Task(Task)
Message(Message)
StatusUpdate(TaskStatusUpdateEvent)
ArtifactUpdate(TaskArtifactUpdateEvent)

Methods

fn event_name(&self) -> &''static str
fn to_jsonrpc_data(&self) -> Value
fn is_terminal(&self) -> bool

Check whether this event signals stream termination.