[whatwg/streams] When to use streams? (#1153)

It's my impression this WG wants streams to be the platform primitive for consuming and producing streams of data asynchronously with back pressure.

However, such adoption is [not obvious to everyone](https://docs.google.com/document/d/10S-p3Ob5snRMjBqpBf5oWn6eYij1vos7cujHoOCCCAw/edit), and discussions like https://github.com/w3c/mediacapture-transform/issues/4 could use clearer guidance A) about this ambition, and B) criteria for when to use streams, and when not to.

For _promises_ the promise guide's [ยง 2. When to use promises](https://www.w3.org/2001/tag/doc/promises-guide#when-to-use) set these criteria, which I believe successfully settled many a debate.

Is there a streams guide in the works (with a _When to use streams_ section)?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1153

Received on Friday, 30 July 2021 18:25:22 UTC