Interface Opts$ExpBack

Configuration for exponential backoff behavior.

Hierarchy

  • Opts$ExpBack

Properties

maxRetries?: number

The maxmium number of retries to perform.

shouldRetry?: ((err: any) => boolean)

Type declaration

    • (err: any): boolean
    • Function that determines whether the error thrown warrants a retry.

      Parameters

      • err: any

      Returns boolean

Generated using TypeDoc