What is the correct way to create an already-completed CompletableFuture

前端 未结 2 1535
旧时难觅i
旧时难觅i 2021-01-07 18:40

I am using Completable futures in java 8 and I want to write a method that, based on a received parameter, either runs multiple tasks with side effects in parallel and then

2条回答
提交回复
热议问题