MCPcopy Index your code
hub / github.com/grpc/grpc-java / fork

Method fork

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

Create a new context which propagates the values of this context but does not cascade its cancellation.

()

Source from the content-addressed store, hash-verified

401 * cancellation.
402 */
403 public Context fork() {
404 return new Context(keyValueEntries, generation + 1);
405 }
406
407 /**
408 * Attach this context, thus enter a new scope within which this context is {@link #current}. The

Calls

no outgoing calls