stop method

void stop()

Implementation

void stop() {
  result = currentValue;
  _stopped = true;
}