Interface defining methods for interacting with a history adapter.
push: (value: IModelMessage<object>, clientId: string, agentName: string) => Promise<void>
Adds a new message to the history.
pop: (clientId: string, agentName: string) => Promise<IModelMessage<object>>
Removes and returns the last message from the history.
dispose: (clientId: string, agentName: string) => Promise<void>
Disposes of the history for a client and agent, optionally clearing all data.
iterate: (clientId: string, agentName: string) => AsyncIterableIterator<IModelMessage<object>>
Iterates over history messages for a client and agent.