- From: Nicolas Le Gall <notifications@github.com>
- Date: Wed, 09 Nov 2016 03:22:57 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 9 November 2016 11:23:29 UTC
I was wondering, why does closing a controller raise a TypeError? (https://streams.spec.whatwg.org/#rs-default-controller-close) For example, I have something like that: ``` new ReadableStream({ start(controller) { controller.enqueue(whatever); controller.close(); } }).pipeThrough(transform).pipeTo(writable) ``` I get a bunch of `Uncaught (in promise) TypeError: Writer was released and can no longer be used to monitor the stream's closedness` (4 Writer was released, 2 Reader was released) -- 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/606
Received on Wednesday, 9 November 2016 11:23:29 UTC