traverse-chain

A simple asynchronous tool

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
traverse-chain
000.1.011 years ago11 years agoMinified + gzip package size for traverse-chain in KB

Readme

traverse-chain
A simple asynchronous tool

Installation

$ npm install traverse-chain

Example

```javascript
var Chain = require('traverse-chain'); var chain = new Chain();
chain.add( function() {
setTimeout(function() {
  chain.next();
}, 2000);
}, functin() {
setTimeout(function() {
  chain.next();
}, 1000); 
} )
chain.traverse(function() { // done });

License

MIT