1 min readApr 23, 2019
You might be confusing how a hotCompletableFuture
works as opposed to how something like a cold Rx Single
type works. In this example of CompletableFuture.supplyAsync { ... }
the lambda starts executing immediately. It does not wait until get
is called.