IFClite TypeScript API
    Preparing search index...

    Interface HistoryDriver

    interface HistoryDriver {
        capture(label?: string): Promise<HistoryEntry>;
        detach(): void;
    }
    Index
    • Force a snapshot now. Captures run one at a time in call order; a capture requested after detach() (or session dispose) rejects with HistoryDriverDetachedError and records nothing.

      Parameters

      • Optionallabel: string

      Returns Promise<HistoryEntry>

    • Stop the timer and refuse further captures. Idempotent.

      Returns void