Spring Boot - Async Processing
Consider this async method in Spring Boot:
What will the caller receive when invoking
@Async public CompletableFuturegetData() { if(true) throw new IllegalStateException("Failure"); return CompletableFuture.completedFuture("Success"); }
What will the caller receive when invoking
getData()?