Re: [whatwg/streams] ReadableStream.from(asyncIterable) (#1083)

Thanks for your example. I think this is a good enough justification. `AsyncGenerator.prototype.return` accepts an value argument so we might as well just use it. I don't know who was heavily involved in the design of AsyncGenerator at TC39, but it might still be nice to ask what they think.

[My implementation](https://bugzilla.mozilla.org/show_bug.cgi?id=1772772) should now be feature complete, but I haven't ran your tests yet.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1083#issuecomment-1172950193
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1083/c1172950193@github.com>

Received on Saturday, 2 July 2022 19:36:09 UTC