As referenced in the Java migration guide in Play 2.5, with the introduction of Java 8’s CompletionStage/CompletableFuture API, Play’s Promise classes and methods are replaced with the standard Java ones, specifically
When I am reading up on Java 8 (not in context of Play), most of the examples seem to use
thenCompose (without the Async) a lot more. While I understand the differences between the two for the most part (with and without Async), in context of Play, is it right to just use
Since the migration doc does not mention the non-Async versions, and the old Promise API does not have a mapAsync or flatMapAsync, it almost seems like the non-Async methods are not “relevant” in context of Play. Are there any cases where the non-Async versions of the methods should be used instead?