cancel method

void cancel()

Cancel the current operation.

Implementation

void cancel() {
  _cancelled = true;
}