I have an endpoint where I do a task after sending the response headers. Something like this:
// util.js exports.utilMethod = function() {} // endpoint.js c