Class Backoff

Used for backoff in advance

Hierarchy

  • Backoff

Constructors

  • Parameters

    • maxDelay: number
    • maxTotalDelay: number
    • __namedParameters: {
          signal?: AbortSignal;
      }
      • Optional signal?: AbortSignal

    Returns Backoff

Properties

count: number = 0
maxDelay: number
maxTotalDelay: number
resolve?: (() => void)

Type declaration

    • (): void
    • Returns void

signal?: AbortSignal
timedOut: boolean = false
timer?: Timeout
totalDelay: number = 0

Methods

Generated using TypeDoc