nextup
v0.0.1
Published
A simple callback pyramid of DOOM (dun dun dun) eliminator.
Downloads
1
Readme
Next-up: Usage: var $$ = require("next-up"); // '$$' can be anything
$$(
function(){
console.log("First function.");
process.nextTick(this.next);
return "passed.";
},
function(arg){
console.log("Second function. PS. A second has "+arg);
setTimeout(this.next, 1000);
return "squiwels";
},
function(arg){
console.log("Third function. PPS. I liek "+ arg +"!!1");
}
);