▲ Why would anyone need JavaScript generator functions? at jrsinclair.com▼4 up and 0 down, posted by jrsinclair 777 days ago 2 comments
tracker1 777 days ago. link 1 point ▲ ▼Worth adding, a very natural use of generators would be for a CSV parser engine... Generally speaking, generators can be thought of natural streams. Async generators and for-await being extensions to this usage.