MCPcopy Create free account
hub / github.com/grpc/grpc-java / isCancelled

Method isCancelled

api/src/context/java/io/grpc/Context.java:461–467  ·  view source on GitHub ↗

Is this context cancelled.

()

Source from the content-addressed store, hash-verified

459 * Is this context cancelled.
460 */
461 public boolean isCancelled() {
462 if (cancellableAncestor == null) {
463 return false;
464 } else {
465 return cancellableAncestor.isCancelled();
466 }
467 }
468
469 /**
470 * If a context {@link #isCancelled()} then return the cause of the cancellation or

Calls

no outgoing calls