Re: [whatwg/streams] Add @@asyncIterator to ReadableStream (#980)

> Any preference on the style of the .then handler? The only other example where ReadableStreamDefaultReaderRead is used internally in the spec is in step 12 of ReadableStreamTee, where the {done, value} tuple is explicitly destructured and asserted before it's used. Do we need to do the same thing here? 

I think we have to do it the long way. It would be weird if `next()` executed `Object.prototype.then` internally.

-- 
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/980#issuecomment-458582481

Received on Tuesday, 29 January 2019 15:28:44 UTC