Skip to content

fix(onErrorResumeNext): observables always finalized before moving to next source#5650

Merged
benlesh merged 3 commits intoReactiveX:masterfrom
benlesh:onErrorResumeNext-fixes
Sep 3, 2020
Merged

fix(onErrorResumeNext): observables always finalized before moving to next source#5650
benlesh merged 3 commits intoReactiveX:masterfrom
benlesh:onErrorResumeNext-fixes

Conversation

@benlesh
Copy link
Copy Markdown
Member

@benlesh benlesh commented Aug 17, 2020

  • Fixes an issue where finalize would be called after all sources were complete
  • Removes superfluous onErrorResumeNext implementation
  • Ensures that invalid sources handed to onErrorResumeNext do not cause an error, and instead resume to the next source
  • Updates types to infer N arguments
  • Removes invalid type signature that allowed a function for no reason
  • Adds dtslint tests for static creation function
  • Adds finalize test to ensure order of finalize calls (as a sanity check)

@benlesh benlesh requested a review from cartant August 17, 2020 17:10
@benlesh benlesh requested a review from cartant August 22, 2020 17:28
… next source

- Fixes an issue where finalize would be called after all sources were complete
- Removes superfluous onErrorResumeNext implementation
- Ensures that invalid sources handed to onErrorResumeNext do not cause an error, and instead resume to the next source
- Updates types to infer N arguments
- Removes invalid type signature that allowed a function for no reason
- Adds dtslint tests for static creation function
- Adds finalize test to ensure order of finalize calls (as a sanity check)
@benlesh benlesh force-pushed the onErrorResumeNext-fixes branch from dc5f304 to eb308b8 Compare August 31, 2020 21:39
@benlesh
Copy link
Copy Markdown
Member Author

benlesh commented Aug 31, 2020

Rebased to resolve conflict.

Copy link
Copy Markdown
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Seems to need an API guardian update, though.

@benlesh benlesh merged commit ff68ad2 into ReactiveX:master Sep 3, 2020
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