Tuesday 26 December 2017

Performance implications if next is not called in the middleware?

In the middleware function, to move on to the succeeding middleware function, we need to invoke the next function. As we all know, if we omit the call the next() function, the request will be hanging. In these scenarios, are there any performance implications due to this? If yes, then what are those issues? What might be the issues if we do not explicitly call next function and requests are left hanging?Thank you.

Submitted December 27, 2017 at 12:34AM by nodexplained

No comments:

Post a Comment