cancel method

void cancel()

Cancel this operation.

This is a convenience method that calls CancellationToken.cancel.

Implementation

void cancel() {
  cancellationToken.cancel();
}