stop method

void stop()

Invalidates timer. This does not stop actively-running recreated jobs.

Implementation

void stop() {
  _timer?.cancel();
  _timer = null;
  _processingInBackground = false;
  logger.finer('Queue stopped');
}