Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose underlying addListener in futures? #33

Open
kingpong opened this issue Sep 7, 2018 · 0 comments
Open

Expose underlying addListener in futures? #33

kingpong opened this issue Sep 7, 2018 · 0 comments

Comments

@kingpong
Copy link

kingpong commented Sep 7, 2018

I am trying to avoid blocking a thread while waiting for a memcached operation to complete. The underlying (e.g.) GetFuture offers addListener to support fully asynchronous workflows. I would like to use this to adapt the GetFuture into a CompletableFuture.

Unfortunately the spyglass GetFuture wrapper hides addListener. Would you accept a PR to expose it?

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

No branches or pull requests

1 participant