Package version:

Interface WebPubSubRetryOptions

The retry options

Hierarchy

  • WebPubSubRetryOptions

Properties

maxRetries?: number

Number of times the operation needs to be retried in case of retryable error. Default: 3.

maxRetryDelayInMs?: number

Denotes the maximum delay between retries that the retry attempts will be capped at. Applicable only when performing exponential retry.

mode?: RetryMode

Denotes which retry mode to apply. If undefined, defaults to Fixed

retryDelayInMs?: number

Amount of time to wait in milliseconds before making the next attempt. Default: 1000 milliseconds. When mode option is set to Exponential, this is used to compute the exponentially increasing delays between retries.

Generated using TypeDoc