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

Prototype different cancellation approach for JobListenableFuture. #2

Closed
wants to merge 1 commit into from

Conversation

vadimsemenov
Copy link
Owner

Now we delegate Future's state to SettableFuture and try to restore original CancellationException from Job in ListenableFuture.get(), when the exception's actually needed.

I think it may be a better approach then a band-aid that I did in Kotlin#2422.

Now we delegate Future's state to SettableFuture and try to restore original CancellationException from Job in ListenableFuture.get(), when the exception's actually needed.

I think it may be a better approach then a band-aid that I did in Kotlin#2422.
@vadimsemenov vadimsemenov deleted the lf-cancellation branch July 23, 2021 09:52
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

Successfully merging this pull request may close these issues.

1 participant