- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 15 Dec 2014 12:53:38 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 15 December 2014 20:54:07 UTC
> @@ -517,9 +538,13 @@ Instances of <code>ReadableStream</code> are created with the internal slots des > <div class="note"> > The <code>closed</code> getter returns a promise that will be fulfilled when the stream becomes closed, or rejected > if it ever errors. > + > + If the stream is <a>locked to a reader</a>, neither of these will occur until the reader releases its lock. Very interesting. This seems bad, since the purpose was to make closing unobservable while the stream is exclusively locked. If that is not a requirement, then we should just let closed work always and not wait for lock to release. Or, we could make closing auto-release. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/251/files#r21855753
Received on Monday, 15 December 2014 20:54:07 UTC