-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Mono.fromCompletionStage
behaves differently from the documentation
#3235
Comments
Mono.fromCompletionStage
behaves differently from the documentation
Indeed it is an unexpected behavior change. Will roll it back and rework it to keep old expectations as well as to have configurable cancellation supported for the |
@benwiles1, could elaborate on your use case? Granted it is a regression, and that some control should be provided, it's not intuitive that cancel should not be passed on, and it would be useful to have a concrete scenario in mind. |
I was reusing the same I don't actually have a problem with the future being canceled, mostly just annoyed that the documentation wasn't updated. and it was convenient at the time when I was learning the library. |
Fixed by #3272. |
Documentation Issue
Mono.fromCompletionStage
is documented to not cancel the future, but in pull request #3146 it was updated to do so.Additional context
I was previously relying on the future not being cancelled, what is the recommended way to to get that behavior back?
The text was updated successfully, but these errors were encountered: