dawidwys commented on a change in pull request #15789:
URL: https://github.com/apache/flink/pull/15789#discussion_r627310690
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/tasks/AbstractInvokable.java
##########
@@ -104,9 +105,12 @@ public AbstractInvokable(Environment environment) {
* execution failure. It can be overwritten to respond to shut down the
user code properly.
*
* @throws Exception thrown if any exception occurs during the execution
of the user code
+ * @return a future that is completed when this {@link AbstractInvokable}
is fully terminated.
+ * Note that it may never complete if the termination fails
Review comment:
Yes, that sounds like a good solution.
--
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]