What is the best way to await the joining of a system.util.invokeAsyncronous() call?

If you look at my later.py, you will find that my wrappers for the various invoke operations return CompleteableFuture instances, with which you can do .whenComplete(doSomethingElse).

At the moment, you have to subclass BiConsumer to use that, but when IA picks up jython 2.7.4, it will include my fix for the auto wrapping of callables for that purpose. (:

Hint here:

1 Like