Asynchronous Iteration using for-await-of
for-await-of syntax is similar to the
for-of iteration. The key difference is that it automatically awaits any promises generated by the iterator. This lesson covers how to consume async data sources easily with
for-await-of essentially allows you to use
async/await in a generator function.