Documentation - v1.2.0-alpha.3
    Preparing search index...

    Type Alias StorageKeyFactory

    StorageKeyFactory: (context: TurnContext) => string | Promise<string>

    A factory function to generate storage keys based on the conversation context.

    Type Declaration

      • (context: TurnContext): string | Promise<string>
      • Parameters

        • context: TurnContext

          The TurnContext for the current turn of conversation

        Returns string | Promise<string>

        A string key for storage that uniquely identifies where to store the data

    Allows different storage strategies based on the conversation state.