clear method

  1. @override
void clear()
override

Removes all pending tasks from the queue.

The Futures of these tasks will be completed with a QueueCancelledException.

Implementation

@override
void clear() {
  _nextCycle.clear();
}