- From: Tom Schuster <notifications@github.com>
- Date: Tue, 18 Oct 2022 11:09:29 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 October 2022 18:09:42 UTC
Step 2 of https://streams.spec.whatwg.org/#rs-asynciterator-prototype-next should be impossible. The reader is acquired internally, so the stream can only become `undefined` after some kind of error or after finishing the iteration. https://webidl.spec.whatwg.org/#es-asynchronous-iterator-prototype-object tells us that "[getting the next iteration result](https://webidl.spec.whatwg.org/#dfn-get-the-next-iteration-result)" in Step 8.4 can not be invoked when the iteration is finished (Step 8.2). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1246 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1246@github.com>
Received on Tuesday, 18 October 2022 18:09:42 UTC