next-promise

v1.0.1
Run a promised func sequencing by following order of params. This is inspired from [Q promise로 차례대로 비동기작업 실행하기 :: Outsider's Dev Story](http://goo.gl/Je3d8n)
next-promise promise sequence sync

NPM version Build Status Dependency Status

Run a promised func sequencing by following order of params. This is inspired from Q promise로 차례대로 비동기작업 실행하기 :: Outsider's Dev Story

Install

$ npm install --save next-promise

Usage

var next = require('next-promise');
var exec = require('exec-then');
var cmds = [
  'ls',
  'pwd',
  'echo $PATH'
];

next(cmds, exec, function(res) {
  console.log(res.stdout);
}).then(function() {
  console.log('done');
});

License

MIT © ragingwind

npm i next-promise

Metadata

  • MIT
  • Whatever
  • ragingwind
  • released 2/16/2015

Downloads

Maintainers