- From: Matteo Collina <notifications@github.com>
- Date: Tue, 21 Aug 2018 18:23:54 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 August 2018 18:24:16 UTC
mcollina commented on this pull request. > +</emu-alg> + +<h5 id="default-reader-@@asynciterator" for="ReadableStreamDefaultReader">[@@asyncIterator]()</h5> + +<div class="note"> + The <code>@@asyncIterator</code> method is an alias of {{ReadableStreamDefaultReader/iterator}}. +</div> + +<emu-alg> + 1. Let _iterator_ be ? GetMethod(*this*, "iterator"). + 1. Return ? Call(_iterator_, *this*). +</emu-alg> + +<h3 id="default-reader-asynciterator-prototype" interface lt="ReadableStreamDefaultReaderAsyncIteratorPrototype"> + ReadableStreamDefaultReaderAsyncIteratorPrototype +</h3> @devsnek reading from https://tc39.github.io/ecma262/#sec-asynciteratorprototype, it does not seem to be mandatory for implementers. I'm just trying to understand if there are any benefits in doing so. -- 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/pull/950#discussion_r211710320
Received on Tuesday, 21 August 2018 18:24:16 UTC