Skip to content

DOM: Implement ref-counted Observable producer#50723

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-6221901
Feb 14, 2025
Merged

DOM: Implement ref-counted Observable producer#50723
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-6221901

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Feb 14, 2025

This CL implements ref-counted producers, which came out of the W3C
TPAC discussions in 2024. After this CL, multiple
ObservableInternalObserver objects can be associated/registered with
a single active Subscriber. The main meat of this CL involves the
logic managing consumer unsubscription, to ensure that only once all
associated consumers/observers unsubscribe do we actually close down
a Subscriber.

See WICG/observable#197.

R=masonf

Bug: 363015168
Change-Id: I67b63a3f4e38bf5be0236fd1b8f025648a3089bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6221901
Reviewed-by: Mason Freed <[email protected]>
Commit-Queue: Dominic Farolino <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1420647}

This CL implements ref-counted producers, which came out of the W3C
TPAC discussions in 2024. After this CL, multiple
`ObservableInternalObserver` objects can be associated/registered with
a single active `Subscriber`. The main meat of this CL involves the
logic managing consumer unsubscription, to ensure that only once *all*
associated consumers/observers unsubscribe do we actually close down
a `Subscriber`.

See WICG/observable#197.

R=masonf

Bug: 363015168
Change-Id: I67b63a3f4e38bf5be0236fd1b8f025648a3089bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6221901
Reviewed-by: Mason Freed <[email protected]>
Commit-Queue: Dominic Farolino <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1420647}
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 976ac8e into master Feb 14, 2025
17 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-6221901 branch February 14, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants