stop method

void stop()

Stop all future auto-repeat cycles and drain pending triggers.

Implementation

void stop() {
  _stopped = true;
  _pendingTriggers = 0;
}