Share via


StorageKeyFactory type

A factory function to generate storage keys based on the conversation context. Allows different storage strategies based on the conversation state.

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