>
>
> Wouldn't `.next()` rather need to return an IteratorResult<Promise<
> DataView>>?


No, because the "done-ness" of the iteration is itself asynchronous.  You
don't know whether you're done iterating until the promise resolves.

https://github.com/zenparsing/async-iteration/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to