Implicit converters between Scala Future and Guava (Listenable/Checked)Future
Rich wrapper providing a monadic interface to Guava ListenableFuture.
Rich wrapper providing a monadic interface to Guava ListenableFuture.
Checked future is slightly harder but may be possible; we can try to add that at some point.
To use, import GuavaFutures._. This will bring an implicit into scope which will wrap a ListenableFuture with a RichListenableFuture, which provides the standard monadic operations (map, flatMap, foreach & withFilter) for ListenableFuture. See the tests for some examples how to use. This is basically to bring some of the benefits of Akka futures to Guava.
3.0.0
Implicit converters between Scala Future and Guava (Listenable/Checked)Future
07/Jul/2014 15:07