- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 24 Aug 2015 02:03:56 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 24 August 2015 09:04:27 UTC
Sorry for delay. I'm fine with the plan. I don't come up with any reasonable use case to keep a reference to a reader while releasing the parent stream. Some code may be accidentally doing so, but could be easily fixed and as Domenic said it's not so harmful to hold an errored/closed stream (which is small) in addition to a reader. I'm also fine with making read on released reader reject. I think currently people who are unaware of the auto release mechanism are not calling release(), and basically people who are aware of wouldn't read() on released one. Some may be using release() and also using released reader as a representation of closed stream that accepts read() and tell us that the stream is closed repeatedly. But ... maybe the number of users with such a use case is small, I guess. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/385#issuecomment-134103082
Received on Monday, 24 August 2015 09:04:27 UTC