AHeise commented on a change in pull request #13067:
URL: https://github.com/apache/flink/pull/13067#discussion_r466368523
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/FutureUtils.java
##########
@@ -90,6 +90,21 @@
}
}
+ /**
+ * Fakes asynchronous execution by immediately executing the operation
and completing the supplied future
+ * either noramlly or exceptionally.
+ *
+ * @param operation to executed
+ * @param <T> type of the result
+ */
+ public static <T> void completeFromCallable(CompletableFuture<T>
future, Callable<T> operation) {
Review comment:
I'd probably go by hotfix commit, doesn't deserve a separate PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]