BazelWorkerDriver constructor

BazelWorkerDriver(
  1. SpawnWorker _spawnWorker, {
  2. int? maxIdleWorkers,
  3. int? maxWorkers,
  4. int? maxRetries,
})

Implementation

BazelWorkerDriver(this._spawnWorker,
    {int? maxIdleWorkers, int? maxWorkers, int? maxRetries})
    : _maxIdleWorkers = maxIdleWorkers ?? 4,
      _maxWorkers = maxWorkers ?? 4,
      _maxRetries = maxRetries ?? 4;