npm.io
0.2.2 • Published 11 years ago

lib-async

Licence
MIT
Version
0.2.2
Deps
0
Vulns
0
Weekly
0
Stars
1

Async

Yet another simple Promises/A+ compliant async flow control using ES6 generators.

Travis   Bower   npm   License MIT

Example

new Async(function*() {

    const users  = yield getUsers(),
          places = yield getPlaces(users);

    return { users, places };

}).then((models) => console.log(models));

Keywords