yaflow
is yet another flow control module for Node.js.
var flow = require('yaflow').create();
flow.use(function (req, res, next, stop) {
process.nextTick(function () {
next();
});
});
flow.use(function (req, res, next, stop) {
// ...
});
flow.execute(req, res, function () {
console.log(res);
});
MIT