- From: Matthew Olsson <notifications@github.com>
- Date: Tue, 18 Apr 2023 20:35:08 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 19 April 2023 03:35:14 UTC
In the "set up" algorithms for `ReadableStream` which take cancel algorithms and wrap them ([here](https://streams.spec.whatwg.org/#readablestream-set-up) and [here](https://streams.spec.whatwg.org/#readablestream-set-up-with-byte-reading-support)), the wrapper is specified as "an algorithm that runs these steps", and then in the steps, says "Let result be the result of running cancelAlgorithm, if cancelAlgorithm was given, or null otherwise". However, in the rest of the spec, the cancel algorithms take a cancellation reason. To me it seems like the wrapper should accept an argument and pass it on. I'd be happy to submit a PR for a fix if this is unintended, but I just wanted to make sure I wasn't missing anything first. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1273 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1273@github.com>
Received on Wednesday, 19 April 2023 03:35:14 UTC