-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOM: Introduce Subscriber#active attribute
This CL introduces an API, namely `subscriber.active` for determining the activity of an existing subscription. The `active` attribute gets set to false by the platform synchronously before the Observer's completion and error handlers are invoked. This has the effect of being observably `false` _within_ those handlers, unlike `subscriber.signal.aborted`. Please see the lengthy design notes in both WICG/observable#76 and WICG/observable#82. R=masonf@chromium.org For WPTs: Co-authored-by: ben@benlesh.com Bug: 1485981 Change-Id: I4604a80347ff30ff7be44a131bfdd3999b71252a
- Loading branch information
1 parent
51ade1b
commit 1ac571e
Showing
1 changed file
with
64 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters