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

Spec the Observer#takeUntil() operator #103

Merged
merged 4 commits into from
Jan 24, 2024
Merged

Conversation

domfarolino
Copy link
Collaborator

@domfarolino domfarolino commented Jan 23, 2024

This seems like one of the more complicated operators, so hopefully the attempt here is sound.

The corner cases around this one are ensuring that we properly unsubscribe from |notifier| and |sourceObservable| simultaneously whenever we need to. This PR has a lot of documentation, so I'll direct the reader's attention to the text there which describes the mechanics I've put in place to hopefully get it all right.

WPTs incoming.

Prototype implementation in Chromium: https://chromium-review.googlesource.com/c/chromium/src/+/5228477.


Preview | Diff

@domfarolino
Copy link
Collaborator Author

@domfarolino domfarolino requested a review from benlesh January 23, 2024 03:50
Copy link
Collaborator

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

This one LGTM 👍

@domfarolino
Copy link
Collaborator Author

Thanks!

@domfarolino domfarolino merged commit 5b136db into master Jan 24, 2024
2 checks passed
@domfarolino domfarolino deleted the takeUntil-operator branch January 24, 2024 20:03
github-actions bot added a commit that referenced this pull request Jan 24, 2024
SHA: 5b136db
Reason: push, by domfarolino

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants