Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Futures with onCompletion callback #16

Open
igor-petruk opened this issue Jun 6, 2013 · 1 comment
Open

Futures with onCompletion callback #16

igor-petruk opened this issue Jun 6, 2013 · 1 comment

Comments

@igor-petruk
Copy link

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

@sdeleuze
Copy link

I would really like have completableFuture support in lettuce!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants