lib-async

0.2.2 • Public • Published

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));

/lib-async/

    Package Sidebar

    Install

    npm i lib-async

    Weekly Downloads

    6

    Version

    0.2.2

    License

    MIT

    Last publish

    Collaborators

    • wildhoney