spyglass
spyglass copied to clipboard
Expose underlying addListener in futures?
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?