@karmaniverous/jeeves
    Preparing search index...

    Function retryAsync

    • Run fn (given the 1-based attempt) until it resolves or the policy gives up.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>

      RangeError when policy.attempts is not an integer of at least 1 (before fn runs).

      The last error.