reset method

void reset()

Implementation

void reset() {
  cancel();
  events.clear();
}