Re:Unravelling `Async for` Loops
by fregante on Thursday September 16, 2021 @02:51PM
(#28555648)
Async iterables are async generators. They call .next() on the iterable, that returns a promise, the promise resolves with either a new item to loop with, or with `done`, which will stop the loop.
[ Parent
| on HN ]
There are no comments on this comment yet.