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

Subject Error Handling #1743

Merged
merged 1 commit into from
Oct 10, 2014
Merged

Conversation

benjchristensen
Copy link
Member

Fixes #1685 by delaying errors that are caught until after all subscribers have a chance to receive the event.

Note that this has a lot of code duplication to handle this across the Subject implementations. It may be worth abstracting this logic ... but right now I'm just doing what makes sense to fix this as the Subject abstractions are non-trivial.

Fixes ReactiveX#1685 by delaying errors that are caught until after all subscribers have a chance to receive the event.

Note that this has a lot of code duplication to handle this across the Subject implementations. It may be worth abstracting this logic ... but right now I'm just doing what makes sense to fix this as the Subject abstractions are non-trivial.
benjchristensen added a commit that referenced this pull request Oct 10, 2014
@benjchristensen benjchristensen merged commit 8072871 into ReactiveX:1.x Oct 10, 2014
@benjchristensen benjchristensen deleted the issue-1685 branch October 10, 2014 04:29
@akarnokd
Copy link
Member

I don't see any option to avoid the repetition without lambda bodies as each subject delivers the onError in a different way: directly, in sequence and after replaying.

@benjchristensen
Copy link
Member Author

Agreed. Thanks for confirming my initial impression and reviewing the changes.

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.

2 participants