pauseAllWorkers method

void pauseAllWorkers()

Pause all workers managed by this controller

Implementation

void pauseAllWorkers() {
  if (_checkDisposed('pauseAllWorkers')) return;

  _batchWorkerOperation(
    (worker) => worker.pause(),
    (group) => group.pauseAll(),
  );

  ZenLogger.logDebug('Controller $runtimeType: All workers paused');
}