-
Notifications
You must be signed in to change notification settings - Fork 151
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
Add Flow.onErrorComplete operator #624
Comments
Maybe we could lean the design on the |
@nvollmar That's a good idea. |
@nvollmar I'm planning to handle this this weekend, onething I have in mind is we can have something like the Your proposal is generic and great . |
I'm back home, so I'd be available for a review, just request me on the PR |
In spring-projects/spring-framework#31352 which split the usage of |
Discussed in #623
Originally posted by He-Pin September 2, 2023
When we encounter an exception, sometime we may don't want the flow to result in an error but completes normally.
The implementation can be simple, but still cause some confusing.
I would like suggest to add a
onErrorComplete
operator which will complete the flow on some dedicated condition.And better we have another
onErrorContiune
operator, which will keep the flow working but will need the operator before it to support this.The text was updated successfully, but these errors were encountered: