My understanding is that code inside an async will be executed on the thread pool, thus if you don’t use
doSomething
return value (which should be
CompletableFuture
), it may or may not terminate with exception depending on scheduling. If you wait for the future to complete, you should be getting information about exception in some fashion.