WICG / observable

Observable API proposal
https://wicg.github.io/observable/
Other
543 stars 12 forks source link

Spec the `take()` operator #113

Closed domfarolino closed 4 months ago

domfarolino commented 4 months ago

This operator's semantics include the behavior of not ever subscribing to the source Observable if the passed in amount argument is 0. Additionally, in that case we automatically invoke Subscriber#complete().

At the moment, the tests for this are in https://github.com/web-platform-tests/wpt/pull/44512, but they will be moved to https://github.com/web-platform-tests/wpt/pull/42996, and then moved to the Chromium implementation where they'll land as part of the Chromium review process.


Preview | Diff