A2AExecutionEventQueue class

An async queue that subscribes to an ExecutionEventBus for events and provides an async generator to consume them.

Properties

count int
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

events() Stream<A2AAgentExecutionEvent>
Provides an async generator that yields events from the event bus. Stops when a Message event is received or a TaskStatusUpdateEvent with final=true is received.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop() → void
Stops the event queue from processing further events.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited