WICG / observable

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

Add option to pass signal to promise-returning methods. #51

Closed benlesh closed 11 months ago

benlesh commented 11 months ago

Closes #50

domfarolino commented 11 months ago

The idea is that this signal would be immediately passed to the underlying "subscribe" operation that gets invoked internally in this algorithms, right?

benlesh commented 11 months ago

Correct, with one exception, the returned promise must reject. Because promises must either resolve or reject.