@tremendous/help
    Preparing search index...

    Interface FingerprintCollectorDependencies<TIdentifier>

    interface FingerprintCollectorDependencies<TIdentifier> {
        checkOutageStatus: () => Promise<boolean>;
        detectDevice: () => Promise<{ device: Device }>;
        outageSamplingRate?: number;
        recordAttempt: (identifier: TIdentifier) => Promise<void>;
        recordFailure: (
            identifier: TIdentifier,
            reason: unknown,
            elapsedMs: number,
        ) => Promise<void>;
        shouldFailOpen?: () => boolean;
        shouldSkip?: (identifier: TIdentifier) => boolean;
    }

    Type Parameters

    • TIdentifier
    Index
    checkOutageStatus: () => Promise<boolean>
    detectDevice: () => Promise<{ device: Device }>
    outageSamplingRate?: number
    recordAttempt: (identifier: TIdentifier) => Promise<void>
    recordFailure: (
        identifier: TIdentifier,
        reason: unknown,
        elapsedMs: number,
    ) => Promise<void>
    shouldFailOpen?: () => boolean
    shouldSkip?: (identifier: TIdentifier) => boolean