AsyncExecutor constructor

AsyncExecutor({
  1. ConcurrencyMode mode = ConcurrencyMode.drop,
  2. Duration? maxDuration,
  3. bool enabled = true,
  4. bool resetOnError = false,
  5. bool debugMode = false,
  6. String? name,
  7. void onMetrics(
    1. Duration executionTime
    )?,
})

Implementation

AsyncExecutor({
  this.mode = ConcurrencyMode.drop,
  this.maxDuration,
  this.enabled = true,
  this.resetOnError = false,
  this.debugMode = false,
  this.name,
  this.onMetrics,
});