ADK for TypeScript: API Reference
    Preparing search index...

    Type Alias SingleAgentCallback

    SingleAgentCallback: (
        context: Context,
    ) => Promise<Content | undefined> | Content | undefined

    A single callback function for an agent.

    Type Declaration

      • (context: Context): Promise<Content | undefined> | Content | undefined
      • Parameters

        Returns Promise<Content | undefined> | Content | undefined