dfilatov / vow

ES6-compatible and Promises/A+ implementation for Node.js and browsers
MIT License
344 stars 45 forks source link

Implement es6 generator wrappers as it was done in Q library #93

Open tormozz48 opened 9 years ago

tormozz48 commented 9 years ago

I would be great if generator wrappers were implemented in vow library.

Something like this:

var vow = require('vow');
vow.async(function *() {
    var myVar = yield asyncFunc();
});

P.S. It is just enhancement proposal