We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560a7fb commit 7eeb411Copy full SHA for 7eeb411
api/src/main/java/io/grpc/CallOptions.java
@@ -358,6 +358,11 @@ public <T> T getOption(Key<T> key) {
358
return key.defaultValue;
359
}
360
361
+ /**
362
+ * Returns the executor override to use for this specific call, or {@code null} if there is no
363
+ * override. The executor is only for servicing this one call, so is not safe to use after
364
+ * {@link ClientCall.Listener#onClose}.
365
+ */
366
@Nullable
367
public Executor getExecutor() {
368
return executor;
0 commit comments