WICG / observable

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

Capitalize on promise analogy and `EventTarget` integration #14

Closed domfarolino closed 1 year ago

domfarolino commented 1 year ago

This PR closes https://github.com/domfarolino/observable/issues/10, by drawing direct analogies with Promises in the section immediately following the EventTarget integration, which is the first section that has real explanatory text about what an Observable is.

A subsequent PR will address https://github.com/domfarolino/observable/issues/6 by moving some of the other explanatory content (that's currently in the "Background" section) that describes how observables are lazy, synchronous, and "glorified functions" into the main Observable API section, and cleaned up.