Comment Comment by ivank Try bluebird's Promise.coroutine, I use it everywhere and it works great.https://github.com/petkaantonov/bluebird/blob/master/API.md#... parent ivank 11 years ago
https://github.com/petkaantonov/bluebird/blob/master/API.md#...