Split of methods between CompletableFuture and Future

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Split of methods between CompletableFuture and Future

Richard Warburton
Hi,

The join() and getNow() methods on CompletableFuture, but not on Future, are operations that are related to extracting a value, rather than performing operations on it. Is there any reason why they were never added to the Future interface?

I'm less interested in join(), but getNow() seems like it would have some value and it looks like an default implementation could be provided for its functionality.

regards,

  Richard Warburton


_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest