News for hackers. Stuff that matters.
Re:JavaScript's world domination by tracker1 on Wednesday March 25, 2015 @03:21AM (#9261646)
async/await are coming with ES7 and available today with BabelJS and other transpilers. Though not part of core, they rely on thenables/promises, which handle the reject/resolve which get composed with generators.

The required bits are in place... alternatively you can use co/koa which uses generators along with yeilding promises to act in a similar fashion.. it does work pretty well, and will only get better.

There are no comments on this comment yet.