whatwg / streams

Streams Standard
https://streams.spec.whatwg.org/
Other
1.35k stars 160 forks source link

Editorial: Add a non-promise version of "fully reading" a stream #1250

Closed noamr closed 1 year ago

noamr commented 1 year ago

This makes it easier for non-JS consumers of streams, like the Fetch specs, to use streams without a JS execution context.

See https://github.com/whatwg/fetch/issues/1568

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

ricea commented 1 year ago

No problem for Chrome, we don't do "full reading" at the JavaScript layer anyway. I think you can call us "interested" because it clears up any possible difference between our implementation and the spec.

noamr commented 1 year ago

No problem for Chrome, we don't do "full reading" at the JavaScript layer anyway. I think you can call us "interested" because it clears up any possible difference between our implementation and the spec.

I think this is purely editorial anyway..