Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IExponentialOptions

IExponentialOptions are passed into the ExponentialBackoff constructor. The backoff equation is, in general, min(max, initial ^ n), where n is an incremented backoff factor. The result of the equation is a delay given in milliseconds.

typedef

{Object} IExponentialOptions

property

{Number} initial The initial delay passed to the equation.

property

{Number} random Random factor to subtract from the n count.

property

{Number} max Max is the maximum value of the delay.

Hierarchy

  • IExponentialOptions

Index

Properties

Properties

initial

initial: number

The initial delay passed to the equation.

max

max: number

max is the maximum value of the delay.

random

random: number

Random factor to subtract from the n count.

Generated using TypeDoc