Example usage for Java java.util.concurrent CompletionStage fields, constructors, methods, implement or subclass
The text is from its open source code.
CompletableFuture | toCompletableFuture() Returns a CompletableFuture maintaining the same completion properties as this stage. |
CompletionStage | whenComplete(BiConsumer super T, ? super Throwable> action) Returns a new CompletionStage with the same result or exception as this stage, that executes the given action when this stage completes. |