cancelAllJobs method

void cancelAllJobs()

Cancels all jobs in the queue.

Clears the queue of pending jobs, preventing them from being executed.

Implementation

void cancelAllJobs() {
  _queue.clear();
}