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

MoreExecutors.listeningDecorator should probably call submit() so that it gets a cancel()-able delegate back, and it should return a Future that cancel()s the underlying delegate Future #2143

Open
cpovirk opened this issue Aug 27, 2015 · 1 comment

Comments

@cpovirk
Copy link
Member

cpovirk commented Aug 27, 2015

Or something like that. Right now, if the underlying Executor returns Future instances that do something interesting on cancel() (like free resources), we don't take advantage of it, since we're calling execute() all the time.

@cpovirk cpovirk added type=enhancement Make an existing feature better package=concurrent labels Aug 27, 2015
@cpovirk cpovirk removed their assignment Sep 13, 2017
@netdpb netdpb added the P3 label Aug 19, 2019
@cpovirk
Copy link
Member Author

cpovirk commented Feb 7, 2020

(Hmm, is this the same as #3553?)

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

No branches or pull requests

4 participants
@cpovirk @kluever @netdpb and others