Re: [whatwg/streams] ReadableStream should be an async iterable (#778)

@jakearchibald @domenic I would like Node.js `Readable` to be as close as possible to whatwg `Readable` when used with `for await`, i.e. `stream.iterator(opts)`. I think it would help defining a best practice on how iterators should be used. Also, it would improve code portability.
Is this API spec'd yet? Could I be involved in the process?

One thing that is not obvious, is if we should close the stream when there is a `break`.

-- 
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/issues/778#issuecomment-380845727

Received on Thursday, 12 April 2018 15:28:05 UTC