reset method

void reset()

Clear handlers and history.

Implementation

void reset() {
  _handlers.clear();
  history.clear();
}