Y
Hacker News
new
|
ask
|
show
|
jobs
by
fregante
1734 days ago
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.