Options
All
  • Public
  • Public/Protected
  • All
Menu

class to define retry param for error scenarios

Hierarchy

  • RetryOptions

Index

Constructors

  • initializes maximumAttempts and retry interval for retry scenarios

    @example
    this.maxRetryAttempts = 3;
    this.retryInterval = 1000;

    Returns RetryOptions

Properties

maxRetryAttempts: number
retryInterval: number

Methods

  • defines default http return method

    Returns RetryOptions

    • RetryOptions object
    @example
    default()

Generated using TypeDoc