in C# , Task class has ContinueWith method, when the task runs to complete status, the ContinueWith method will be invoked, and in JAVA, is there some methods like ContinueWith ?
I know the guava listenablefuture, but it use a new thread to wait the 'task' to complete, is it equal to C# ContinueWith?
and JAVA 8 CompletableFuture whenComplete has the same effect, so what's the difference in C# ContinueWith listenablefuture CompletableFuture?
thank you!