Interface RealtimeCheckpointStoreOptions

interface RealtimeCheckpointStoreOptions {
    maxAgeMs?: number;
    maxRecords?: number;
    now?: (() => number);
    onDiagnostic?: ((diagnostic: RealtimeCheckpointStoreDiagnosticV1) => void);
}

Hierarchy (view full)

Properties

maxAgeMs?: number

Maximum checkpoint age before a resnapshot is forced.

900000
maxRecords?: number

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

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

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