2 ms·
I don't think this yields the current thread/routine though does it? I think what you are seeing here is closer to express': function(req, res, next) { c
by bjconlan 13y ago
I don't think this yields the current thread/routine though does it? I think what you are seeing here is closer to express':
function(req, res, next) {
console.log('before');
next(); // go to the next middleware handler
console.log('after the middleware stack has been traversed');
}
- andreypopp 13y agoI think does yield as stated in docs. Go have coroutines so there is no need in generators.