RealtimeReconnectConfig constructor

const RealtimeReconnectConfig({
  1. bool enabled = true,
  2. Duration delay = const Duration(seconds: 1),
  3. int? maxAttempts,
  4. Duration maxDelay = const Duration(seconds: 30),
  5. bool useExponentialBackoff = true,
  6. bool jitter = true,
})

Implementation

const RealtimeReconnectConfig({
  this.enabled = true,
  this.delay = const Duration(seconds: 1),
  this.maxAttempts,
  this.maxDelay = const Duration(seconds: 30),
  this.useExponentialBackoff = true,
  this.jitter = true,
});