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

Method cancel

stub/src/test/java/io/grpc/stub/ClientCallsTest.java:385–389  ·  view source on GitHub ↗
(String message, Throwable cause)

Source from the content-addressed store, hash-verified

383 }
384
385 @Override
386 public void cancel(String message, Throwable cause) {
387 cancelMessage.set(message);
388 cancelCause.set(cause);
389 }
390 };
391 Integer req = 2;
392 ListenableFuture<String> future = ClientCalls.futureUnaryCall(call, req);

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected