Re: [whatwg/streams] TransformStream cleanup using "Transformer.cancel" (PR #1283)

@lucacasonato commented on this pull request.



> +   <p>(Note that there is no need to call
+   {{TransformStreamDefaultController/terminate()|controller.terminate()}} inside
+   {{Transformer/cancel|cancel()}}; the stream is already in the process of cancelling/aborting, and
+   terminating it would be counterproductive.)
+

Previously it was impossible because of the immediate close semantics. I just pushed the new semantics, and will add tests for this case.

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

Message ID: <whatwg/streams/pull/1283/review/1475789795@github.com>

Received on Monday, 12 June 2023 20:45:03 UTC