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

Propagate cancel signal on Mono to wrapped CompletableFuture #3138

Closed
rstoyanchev opened this issue Aug 4, 2022 · 3 comments · Fixed by #3146
Closed

Propagate cancel signal on Mono to wrapped CompletableFuture #3138

rstoyanchev opened this issue Aug 4, 2022 · 3 comments · Fixed by #3146
Assignees
Labels
type/enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

Currently, Mono#fromFuture uses MonoCompletionStage, and CompletionStage does not have a cancel method. As a result, even if the Mono is cancelled, the future is never made aware of it.

@OlegDokuka
Copy link
Contributor

OlegDokuka commented Aug 4, 2022

@rstoyanchev
Copy link
Contributor Author

Nice 👍 ! Yes please, a targeted backport of the cancellation propagation to CompletableFuture would be great indeed. The above linked issue is with Spring for GraphQL 1.0 and Reactor 3.4.x so that would help there.

@OlegDokuka OlegDokuka added type/enhancement A general enhancement and removed ❓need-triage This issue needs triage, hasn't been looked at by a team member yet labels Aug 10, 2022
@OlegDokuka OlegDokuka added this to the 3.4.23 milestone Aug 10, 2022
@OlegDokuka
Copy link
Contributor

closed with #3146

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

Successfully merging a pull request may close this issue.

3 participants