A2ARuns
Defined in: agents/src/a2a/memory-runs.ts:38
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
I |
AgentInput |
O |
unknown |
Properties
Section titled “Properties”optional send?: (owner, id, input) => Promise<void>;Defined in: agents/src/a2a/memory-runs.ts:61
Optional, explicit capability. Enqueue is not a promise that a model consumed the input.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
id |
string |
input |
QueuedInput |
Returns
Section titled “Returns”Promise<void>
Methods
Section titled “Methods”cancel()
Section titled “cancel()”cancel(owner, id): Promise<BackgroundCancelResult>;Defined in: agents/src/a2a/memory-runs.ts:54
Follow the returned physical segment. Queue acceptance is not a cancelled outcome.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
id |
string |
Returns
Section titled “Returns”Promise<BackgroundCancelResult>
observe()
Section titled “observe()”observe( owner, id, afterSeq?, signal?): AsyncIterable<A2AStoredEvent>;Defined in: agents/src/a2a/memory-runs.ts:47
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
id |
string |
afterSeq? |
number |
signal? |
AbortSignal |
Returns
Section titled “Returns”AsyncIterable<A2AStoredEvent>
read()
Section titled “read()”read(owner, id): Promise<A2ARun<O>>;Defined in: agents/src/a2a/memory-runs.ts:46
Return independent snapshots and hydrated outcomes. A caller or projector must not be able to change stored results by mutating a read. Completed checkpoints are authoritative.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
id |
string |
Returns
Section titled “Returns”Promise<A2ARun<O>>
resume()
Section titled “resume()”resume( owner, id, answers): Promise<{ id: string;}>;Defined in: agents/src/a2a/memory-runs.ts:55
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
id |
string |
answers |
Readonly<Record<string, unknown>> |
Returns
Section titled “Returns”Promise<{
id: string;
}>
start()
Section titled “start()”start( owner, input, options): Promise<{ id: string;}>;Defined in: agents/src/a2a/memory-runs.ts:39
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
input |
I |
options |
{ runId: string; sessionId?: string; signal?: AbortSignal; } |
options.runId |
string |
options.sessionId? |
string |
options.signal? |
AbortSignal |
Returns
Section titled “Returns”Promise<{
id: string;
}>