Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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 more onErrorXXX stream operators. #914

Closed
He-Pin opened this issue Jan 7, 2024 · 4 comments
Closed

Add more onErrorXXX stream operators. #914

He-Pin opened this issue Jan 7, 2024 · 4 comments

Comments

@He-Pin
Copy link
Member

He-Pin commented Jan 7, 2024

Motivation:
As a daily Java developer , I think the onError* operators are very easy to use.
eg: spring-projects/spring-framework#31352
refs:reactor/reactor-core#535

Currently:

Reactor-core Pekko Suggestion
onErrorResume recoverWith
onErrorComplete onErrorComplete ( added #624)
onErrorReturn recover/recoverWith
onErrorContinue withAttributes(...)
onErrorStop withAttributes/defaultBehavior
onErrorMap mapError
@He-Pin He-Pin changed the title Add onErrorReturn stream operator. Add more onErrorXXX stream operators. Jan 7, 2024
@laglangyue
Copy link
Contributor

if possile, can I work for the simpler one of them, but I am not similiar with this module.

@He-Pin
Copy link
Member Author

He-Pin commented Jan 9, 2024

@laglangyue Thanks, I would like to gather more information before anyone from the community put effects on it.
As a Java developer I think the current api is not that easy to use.

@laglangyue
Copy link
Contributor

As a Java developer I think the current api is not that easy to use.

fine,good luck

@mdedetrich
Copy link
Contributor

I think that this should be discussed more generally on github discussions/mailing list.

I am not against this in principle and I also have my own ideas regarding the attributes boilerplate (I.e. why isn't there an implicit's api for attributes for Scala) but we really should look at this comprehensively before coding it.

@apache apache locked and limited conversation to collaborators Jan 10, 2024
@He-Pin He-Pin converted this issue into discussion #927 Jan 10, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants