GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — A2AAgentExecutor | ADK for TypeScript: API Reference - v2.5.0

  • A2AAgentExecutor

Class A2AAgentExecutor

AgentExecutor invokes an ADK agent and translates session events to A2A events.

Implements

  • AgentExecutor
  • Defined in core/src/a2a/agent_executor.ts:87

Constructors

constructor

  • new A2AAgentExecutor(config: AgentExecutorConfig): A2AAgentExecutor

    Parameters

    • config: AgentExecutorConfig

    Returns A2AAgentExecutor

    • Defined in core/src/a2a/agent_executor.ts:90

Methods

cancelTask

  • cancelTask(_taskId: string): Promise<void>

    Method to explicitly cancel a running task. The implementation should handle the logic of stopping the execution and publishing the final 'canceled' status event on the provided event bus.

    Parameters

    • _taskId: string

    Returns Promise<void>

    Implementation of AgentExecutor.cancelTask

    • Defined in core/src/a2a/agent_executor.ts:219

execute

  • execute(ctx: RequestContext, eventBus: ExecutionEventBus): Promise<void>

    Executes the agent logic based on the request context and publishes events.

    Parameters

    • ctx: RequestContext
    • eventBus: ExecutionEventBus

      The bus to publish execution events to.

    Returns Promise<void>

    Implementation of AgentExecutor.execute

    • Defined in core/src/a2a/agent_executor.ts:92
Constructors
constructor
Methods
cancelTaskexecute
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.