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 finally() operator #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Spec the finally() operator #153

wants to merge 1 commit into from

Conversation

domfarolino
Copy link
Collaborator

@domfarolino domfarolino commented Jul 1, 2024

This PR specs the finally() operator. Mirroring the finally keyword, its semantics are such that on both producer-initiated and consumer-initiated unsubscription, the finally operator's callback runs. The only remaining open question about this operator has to do with subtle timing between the finally() operator and source Observable teardown execution. See #151 for discussion there. I don't think that needs to block this PR, but it does need to resolve one way or another.

Tests are being landed in https://chromium-review.googlesource.com/c/chromium/src/+/5654720.


Preview | Diff

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.

1 participant