Documentation - v1.2.0-alpha.3
    Preparing search index...
    AgentHandler: (context: TurnContext, next: () => Promise<void>) => Promise<any>

    Type definition for agent handler function

    Type Declaration

      • (context: TurnContext, next: () => Promise<void>): Promise<any>
      • Parameters

        • context: TurnContext

          The turn context for the current turn of conversation

        • next: () => Promise<void>

          The function to call to continue to the next middleware or handler

        Returns Promise<any>

        A promise representing the asynchronous operation