A2AClient
Defined in: agents/src/a2a/client.ts:180
Methods
Section titled “Methods”call()
Section titled “call()”call<M>( method, params, options?): Promise<A2AResults[M]>;Defined in: agents/src/a2a/client.ts:181
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
M extends UnaryMethod |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
method |
M |
params |
A2ARequests[M] |
options? |
A2ACallOptions |
Returns
Section titled “Returns”Promise<A2AResults[M]>
observe()
Section titled “observe()”observe<M>( method, params, options?): A2AObservation;Defined in: agents/src/a2a/client.ts:186
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
M extends StreamingMethod |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
method |
M |
params |
A2ARequests[M] |
options? |
A2ACallOptions |