3 ms·
...and you can also have something like that using Bluebird.coroutine() (https://github.com/petkaantonov/bluebird/blob/master/API.md#... https://github.com/petk
by drapper 12y ago
...and you can also have something like that using Bluebird.coroutine() (https://github.com/petkaantonov/bluebird/blob/master/API.md#... https://github.com/petkaantonov/bluebird/blob/master/API.md#...) or co (https://github.com/tj/co https://github.com/tj/co, see also https://github.com/koajs/koa https://github.com/koajs/koa)
- phpnode 12y ago6to5 actually supports compiling async/await to bluebird coroutines