Type alias RetryDelayFunction<TError>

RetryDelayFunction<TError>: ((failureCount, error) => number)

Type Parameters

  • TError = unknown

Type declaration

    • (failureCount, error): number
    • Parameters

      • failureCount: number
      • error: TError

      Returns number