lettuce icon indicating copy to clipboard operation
lettuce copied to clipboard

Futures with onCompletion callback

Open igor-petruk opened this issue 12 years ago • 1 comments
trafficstars

Does lettuce support specifying callbacks on completion of operations? Java Futures are not good enough, even though the operation is async, getting the value is synchronous, blocking. Using Java futures has all kinds of issues when desiging completely async applications and performing async computation composition

For example of better futures please see Scala futures, Guava ListenableFuture or Java 8 CompletableFuture, even custom callback is better then old Java Future

igor-petruk avatar Jun 06 '13 17:06 igor-petruk

I would really like have completableFuture support in lettuce!

sdeleuze avatar Apr 24 '14 22:04 sdeleuze