CompletableFuture handle和whenComplete区别 handle 方法和whenComplete方法类似,只不过接收的是一个 BiFunction<? super T,Throwable,? extends U> fn 类型的参数,因此有 whenComplete 方法和 转换的功能 (thenApply) juc 2023-10-21 138 点赞 2 评论 209 浏览