• Calculates the timer delay according to an exponential back off strategy.

    Parameters

    • failedCount: number

      The number of times the service has consecutively failed.

    • options: BackoffOptions

      Retry timing options (default values from: defaultRetryOptions)

    Returns number

    The delay to retry a network request in seconds. This will be clamped between 1 and options.maxRetryTime.