Interface IOutlineHistory

Interface representing the history management API for outline operations. Provides methods to manage message history, such as adding, clearing, and listing messages. IOutlineHistory

interface IOutlineHistory {
    clear(): Promise<void>;
    list(): Promise<IOutlineMessage[]>;
    push(...messages: (IOutlineMessage | IOutlineMessage[])[]): Promise<void>;
}

Methods

Methods

  • Clears all messages from the outline history. Resets the history to an empty state.

    Returns Promise<void>