openmixer — generated API reference
    Preparing search index...

    Interface SessionStoreOptions

    Options for SessionStore.

    interface SessionStoreOptions {
        dir: string;
        idGen?: () => string;
        now?: () => Date;
        provider: ConsoleStateProvider & PatchStateProvider;
    }

    Hierarchy

    • JsonFileLibraryOptions
      • SessionStoreOptions
    Index
    dir: string

    Directory holding the per-entry JSON files (created on demand).

    idGen?: () => string

    Id generator (override in tests for determinism). Default randomUUID.

    now?: () => Date

    Clock (override in tests). Default () => new Date().

    The live console the store snapshots from / restores to.