1.1.1 • Published 6 years ago

yeps-promisify v1.1.1

Weekly downloads
20
License
MIT
Repository
github
Last release
6 years ago

Recursive loop promise generator for yeps

It helps with looping promises. It's promises middleware realisation.

NPM

npm version Build Status Coverage Status Linux Build Windows Build

Dependency Status devDependency Status NSP Status

License GitHub stars GitHub forks GitHub issues Twitter

How to install

npm i -S yeps-promisify

How to use

const promisify = require('yeps-promisify');

async () => {
    const context = {};
    
    const promises = [
        async (context) => {
            // some stuff with context
        },
        async (context) => {
            // some other stuff with context
        },
        ...
    ];
    
    try {
        await promisify(context, promises);
    } catch (error) {
        // error handler
    }
}    

YEPS documentation

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago