public static < U > CompletableFuture < U > supplyAsync ( Supplier < U > supplier , Executor executor ) { return asyncSupplyStage ( screenExecutor ( executor ) , supplier ) ; }
Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor with the value obtained by calling the given Supplier .