whenCancelled property

Future<QueryCancelledException> get whenCancelled

Completes with the cancellation reason.

Implementation

Future<QueryCancelledException> get whenCancelled {
  _consumed = true;
  return _cancelled.future;
}