RetryStrategy

Hierarchy

  • RetryStrategy

Index

Methods

Static ExponentialBackoff

  • ExponentialBackoff(maxRetries?: number, baseInterval?: number): function
  • Parameters

    • Optional maxRetries: number
    • Optional baseInterval: number

    Returns function

      • (url: string, request: XMLHttpRequest, retryIndex: number): number
      • Parameters

        • url: string
        • request: XMLHttpRequest
        • retryIndex: number

        Returns number

Generated using TypeDoc