@tremendous/help
    Preparing search index...

    Function createFingerprintCollector

    • Collects fingerprint with monitoring and circuit breaker support.

      Behavior:

      • When NO outage: Always attempts fingerprint collection, tracks attempts and failures, throws error if collection fails (blocking redemption)
      • When outage: Only samples 10% of redemptions for fingerprint collection. For the 90% not sampled, returns null without tracking. For the 10% sampled, tracks attempts/failures but never blocks redemption.

      Type Parameters

      • TIdentifier

      Returns (identifier: TIdentifier) => Promise<{ device: Device }>

      Promise resolving to device data with sealedResult (may be null during outages)

      Error when fingerprint collection fails during non-outage periods