DialCache TypeScript API - v0.26.0
    Preparing search index...

    Type Alias ShadowComparator<Value>

    ShadowComparator: (cachedValue: Value, sourceValue: Value) => boolean

    Defines application-level equality for detached shadow validation.

    Inputs are borrowed snapshots. Comparators must be synchronous, deterministic, side-effect-free, non-mutating, and bounded.

    Type Parameters

    • Value

    Type Declaration

      • (cachedValue: Value, sourceValue: Value): boolean
      • Parameters

        Returns boolean