Share via


StorageKeyFactory type

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

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

Remarks

Allows different storage strategies based on the conversation state.