When should I use generators?
Accompanying code samples
This example repo includes various examples discussed in the accompanying StrongLoop blog post on generators. It is required to run Node 0.11.x or higher to run code in this repo. Also you need to use --harmony flag:
node --harmony async.js