data-patterns

Patterns

Topics

Streams vs Observables

  • https://github.com/whatwg/streams/blob/master/FAQ.md

    Observables/EventTarget are specifically designed for multi-consumer scenarios, and have no support for backpressure.

    Observables and readable streams both share the semantic of "zero or more chunks, followed by either an error or done signal". But beyond that, they are not very comparable.

Streams vs Async Iterables

To Read