clear method

void clear()

Removes all pending operations from the queue.

Implementation

void clear() {
  _operations.clear();
}