throwIfCancelled method

void throwIfCancelled()

Implementation

void throwIfCancelled() {
  if (isCancelled) throw rpcStatus(1);
}