Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOM: Introduce SubscribeOptions for Observable API
This PR separates the AbortSignal from the callbacks passed into `subscribe()` via the `Observer` dictionary, into its own dictionary, where future options may live. This is a particularly useful ergonomic change for chaining Observables together. See WICG/observable#85 and WICG/observable#71 for any relevant design discussion. [email protected] Bug: 1485981 Change-Id: I9b9f9cf26cb8b7a71d2aab7811ad681386cbfd5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5046377 Commit-Queue: Dominic Farolino <[email protected]> Reviewed-by: Mason Freed <[email protected]> Cr-Commit-Position: refs/heads/main@{#1227666}
- Loading branch information