The concept of Iterators and Generators have been in JavaScript for a while now. This article will discuss how you can use a Generator to efficiently stream data to a consumer. Generators are a mechanism for creating and returning enumerable data (e.g. an