- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 20 Jul 2021 10:26:43 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 July 2021 17:26:56 UTC
> Second, "reader.cancel()" is called to cancel reader NOT the stream itself. The whole stream has its own readable.cancel() to discard buffers. This is not correct. readable.cancel() is the same as readable.getReader().cancel(). If you want to release a given reader, use reader.releaseLock(). -- 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/1147#issuecomment-883565658
Received on Tuesday, 20 July 2021 17:26:56 UTC