CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Function shouldRetryAfterFailure

    • Determines whether a failed config fetch should be retried automatically.

      Parameters

      • attempt: number

        The zero-indexed attempt count (0 for initial failure).

      • error: unknown

        The error encountered during fetch.

      Returns boolean

      True if the request should be retried (retries once for non-abort errors).