ExponentialBackoffStrategy constructor

ExponentialBackoffStrategy({
  1. Duration initialDelay = const Duration(seconds: 1),
  2. Duration maxDelay = const Duration(minutes: 5),
  3. double multiplier = 2.0,
  4. double randomizationFactor = 0.1,
})

Creates a new ExponentialBackoffStrategy.

Implementation

ExponentialBackoffStrategy({
  this.initialDelay = const Duration(seconds: 1),
  this.maxDelay = const Duration(minutes: 5),
  this.multiplier = 2.0,
  this.randomizationFactor = 0.1,
});