firefly-limiter - v1.0.1
    Preparing search index...

    Type Alias RetryPredicate

    RetryPredicate: (error: unknown, attempt: number) => boolean

    Whether a failure is worth repeating.

    Type Declaration

      • (error: unknown, attempt: number): boolean
      • Parameters

        • error: unknown
        • attempt: number

        Returns boolean