express-async
v0.1.3
Published
Like async.js but for express.
Downloads
430
Maintainers
Readme
express-async
Like async except for express.
Methods
parallel
var async = require('express-async');
function mw1(req, res, next) {
}
function mw2(req, res, next) {
}
app.get('/', async.parallel(mw1, mw2));
serial
var async = require('express-async');
function mw1(req, res, next) {
}
function mw2(req, res, next) {
}
app.get('/', async.serial(mw1, mw2));