task.js generators + promises = tasks task.js is an experimental library for ES6 that makes sequential, blocking I/O simple and beautiful, using the power of JavaScript’s new yield operator. Tasks are interleaved like threads, but they are cooperative rather than p...