Parallel middleware
jrf0110 opened this issue · comments
app.get( '/users'
, m.parallel(
function( req, res, next ){ setTimeout( next, 1000 ); }
, function( req, res, next ){ setTimeout( next, 800 ); }
)
, m.view( 'users', db.users )
);
Standard Middleware for Express
jrf0110 opened this issue · comments
app.get( '/users'
, m.parallel(
function( req, res, next ){ setTimeout( next, 1000 ); }
, function( req, res, next ){ setTimeout( next, 800 ); }
)
, m.view( 'users', db.users )
);