traverse-chain
v0.1.0
Published
A simple asynchronous tool
Downloads
4,674,036
Readme
traverse-chain
A simple asynchronous tool
Installation
$ npm install traverse-chain
Example
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