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

    Interface RealtimeReconciliationResult<TFeature>Experimental

    Result of one RealtimeReconciler.reconcile call.

    interface RealtimeReconciliationResult<TFeature = unknown> {
        changes: readonly RealtimeReconciliationChange<TFeature>[];
        mode: RealtimeReconciliationMode;
        pendingPatchCount: number;
        rebuildReason?: RealtimeReconciliationRebuildReason;
        reset: boolean;
        resetReason?: RealtimeReconciliationResetReasonCode;
        version: RealtimeReconciliationVersion;
    }

    Type Parameters

    • TFeature = unknown
    Index

    Properties

    For "patch", the transition's incremental changes. For "rebuild", always the full accepted store as "create" changes (plus the triggering event's "delete" changes on a non-reset rebuild), so a derived cache can re-materialize wholesale from the result alone without dropping live features that were not part of the triggering event.

    pendingPatchCount: number

    Patches accumulated since the last rebuild, including this result. Always 0 immediately after a rebuild.

    reset: boolean