You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It says here that the CompletionStage returned by FutureConverters doesn't support the toCompletableFuture() interface at all. However, it can be used fine to retrieve the value of a completed future, and/or wait for it. That functionality is currently used by e.g. akka.
The documentation could probably be extended to reflect that waiting / getting is fine, but completing is not.
The text was updated successfully, but these errors were encountered:
Actually, if the behaviour is indeed correct, it might even make sense to upgrade the return type to either CompletableFuture , or to a sub-interface of CompletionStage that happens to have the CompletableFuture methods that are supported.
It says here that the
CompletionStage
returned byFutureConverters
doesn't support thetoCompletableFuture()
interface at all. However, it can be used fine to retrieve the value of a completed future, and/or wait for it. That functionality is currently used by e.g. akka.The documentation could probably be extended to reflect that waiting / getting is fine, but completing is not.
The text was updated successfully, but these errors were encountered: