aljoscha commented on issue #10497: [FLINK-14992][client] Add job listener to 
execution environments
URL: https://github.com/apache/flink/pull/10497#issuecomment-563236208
 
 
   Yes, that's what I'm proposing, you can actually see it in the code of this 
PR. When `executeAsync()` is called we just also pass the future to the 
listener.
   
   The advantage of having futures in the API is that the calls can return 
earlier in some cases, and we're never blocking on job submission unless we 
want to, i.e. if the user wants to wait on the future.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to