clearEvents() {
    // ???: might be more efficient to clear here and come up with an efficient way to
    // serialize the events and priorities
    this._items = new PriorityQueue(this._items.limit)
  }
Resets the contents of the aggregator and all counters.

@returns {PriorityQueue} The old collection of aggregated events.