@honua/sdk-js
    Preparing search index...

    Interface IndexedDbRealtimeCheckpointStoreOptions

    interface IndexedDbRealtimeCheckpointStoreOptions {
        indexedDB?: IDBFactory;
        maxAgeMs?: number;
        maxRecords?: number;
        name?: string;
        now?: () => number;
        onDiagnostic?: (diagnostic: RealtimeCheckpointStoreDiagnosticV1) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    indexedDB?: IDBFactory

    Injectable for browser tests and hosts with an alternate IndexedDB factory.

    maxAgeMs?: number

    Maximum checkpoint age before a resnapshot is forced.

    900000
    
    maxRecords?: number

    Maximum distinct resume scopes retained; least recently written is evicted.

    64
    
    name?: string

    Defaults to honua-realtime-checkpoints. Names are origin-scoped by IndexedDB.

    now?: () => number
    onDiagnostic?: (diagnostic: RealtimeCheckpointStoreDiagnosticV1) => void

    Receives every discard, refusal, and storage failure. Must not throw.