WICG / observable

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

Promise APIs should accept configuration options with `signal` #50

Closed benlesh closed 11 months ago

benlesh commented 11 months ago

Right now all of the methods that return promises don't accept a means of cancellation.

They should really allow people to abort those promises, which I suppose should reject the returned promise in the same manner that fetch does. (With an AbortError or a DOMException?)