Dalinar
02/13/2019, 3:19 PMCompletableFuture.supplyAsync(Supplier<Boolean>{
true
}, pool)
so if I want the , pool
then I need to use Supplier<>
? there is no way to get of it ? I'm asking because if you only supply one parameter then it is not necessarypivovarit
02/17/2019, 11:33 AMpivovarit
02/17/2019, 11:34 AMSupplier<T>
pivovarit
02/17/2019, 11:34 AM, pool
can be skipped but the method signature remains the sameDalinar
02/21/2019, 6:09 PMpivovarit
02/21/2019, 10:07 PMCompletableFuture.supplyAsync({ true }, pool)