Generators and iterators can be very useful if you get a hang of it

Generators and iterators in Javascript for Promise Flow Control

A guide on how to use generators to create your own utility class to handle application flow with Promises in parallel. The package is available on npmjs.com and GitHub. 1npm install node-promise-parallel –save GitHub: https://github.com/snappyjs/node-promise-parallel npmjs: https://www.npmjs.com/package/node-promise-parallel Introduction I heard about function* (generators) and iterators quite some time ago now but I didn’t really understand the need […]

See More