Skip to content

elixiao/pify-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pify-async

promisified async package

Install

npm install pify-async --save
yarn add pify-async

Usage

const async = require('pify-async')

const callbacks = [1, 2, 3].map(it => cb => {
    setTimeout(() => {
        cb(null, it)
    }, 1000)
})

async.series(callbacks).then(data => {
    console.log(data)
})

License

MIT

About

promisified async package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published