🔁for-await
🚧 施工中
work with streams of asynchronous events using simple loops.
(async function() {
for await (const value of iterable) { ... }
})();
for await...of doesn't work with async iterators that are not async iterables.
Last updated
Was this helpful?