The Async iterator API is both scalable and elegant. It takes advantage of the native Readable Stream API upon which the stringifier is build to iterate over the stringified chunks of data.
The async iterator example below generates a CSV stream which is then stringified and iterated over. For each record, we simulate a slow asynchronous operation. This example is available with the command