5 ms·
Is there not an OnDispose or some kind of hook to detect when requests can end? To end a request in every framework I've used you just return from your code bac
by slackingoff2017 9y ago
Is there not an OnDispose or some kind of hook to detect when requests can end? To end a request in every framework I've used you just return from your code back to the framework. You shouldn't have to worry about a framework object like request state.
- partycoder 9y agoThere are ways to detect this, but since express declares itself as an "minimalistic, non-opinionated framework" it's up to you to do it and do it correctly, or have correctly implemented logic that does not run into this issue.