News for hackers. Stuff that matters.
Re:Syncify.js – Eliminates the need for callbacks in the bro... by voxtex on Sunday May 10, 2015 @11:28AM (#9520172)
I've found using promises with generators yields code very similar to async/await, without relying on experimental features.

https://github.com/tj/co

or

https://github.com/petkaantonov/bluebird/blob/master/API.md#...

Re:Syncify.js – Eliminates the need for callbacks in the bro... by randall on Sunday May 10, 2015 @12:40PM (#9520418)
Re:Syncify.js – Eliminates the need for callbacks in the bro... by adrusi on Sunday May 10, 2015 @11:40AM (#9520212)
yes, async/await and generators are the same construct, represented by two different syntaxes. Each can be implemented in terms of the other.