Completes this CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor.
@param supplier a function returning the value to be used to complete this CompletableFuture @return this CompletableFuture
See Implementation
Completes this CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor.
@param supplier a function returning the value to be used to complete this CompletableFuture @return this CompletableFuture