Skip to content

madhums/lll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lll (parallel)

A simple implementation of async.parallel

Install

$ npm install lll

Usage

var parallel = require('lll');
parallel([
  function (cb) {
    setTimeout(function () {
      cb(null, 'one');
    });
  },
  function (cb) {
    setTimeout(function () {
      cb(null, 'two');
    });
  }
], function (err, result) {
  console.log(result)
  // => ['one', 'two']
})

Test

$ npm test

License

MIT

About

A simple implementation of async.parallel

Resources

License

Stars

Watchers

Forks

Packages