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

    Interface RealtimeReducerOptions

    interface RealtimeReducerOptions {
        maxSeenEventIds?: number;
        maxTombstones?: number;
        now?: () => number;
        tombstoneTtlMs?: number;
    }
    Index

    Properties

    maxSeenEventIds?: number
    maxTombstones?: number

    Upper bound on the number of delete tombstones retained in state. Outside a replace snapshot, tombstones are never cleared, so a long-lived delta subscription leaks one entry per delete. When the cap is exceeded the oldest tombstones (by deletedAt) are evicted, mirroring the maxSeenEventIds cap. Defaults to 1024; set to 0 to disable the count bound.

    now?: () => number
    tombstoneTtlMs?: number

    Maximum age, in milliseconds, of a retained tombstone measured from its deletedAt. Tombstones older than this are dropped on the next reduce. Disabled (no age bound) when omitted.