/** * Returns a new CompletableFuture that is asynchronously completed * by a task running in the { @link ForkJoinPool#commonPool()} with * the value obtained by calling the given Supplier. * * @param supplier a function returning the value to be used * to complete the returned CompletableFuture * @param <U> the function's return type * @return the new CompletableFuture */ public
CompletableFuture源码详解之java.util.concurrent.CompletableFuture#supplyAsync(java.util.function.Supplier...
最新推荐文章于 2024-07-07 01:06:18 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)