whatwg / streams

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

Align reference implementation of "wait for all" with latest Web IDL spec #1180

Closed MattiasBuelens closed 2 years ago

MattiasBuelens commented 2 years ago

It looks like the spec of "get a promise for waiting for all" changed slightly when it was moved from the promise guide to Web IDL. Notably, the successSteps and failureSteps arguments were removed, since you can already achieve the same thing by reacting to the returned promise.

This updates the reference implementation to align with the definitions from the Web IDL specification. No normative changes.