CompletableFuture的一个使用坑点

程序: CompletableFuture<String> robotLimit1 = CompletableFuture.supplyAsync(() -> { try { Thread.sleep(10); } catch (InterruptedException e) { e.printSt

posted on 2022-02-10 17:31  张小泽的小号  阅读(369)  评论(0)    收藏  举报