Closed jakeorr closed 2 years ago
Passing an event emitter as in the example here: https://github.com/howardabrams/node-mocks-http#createresponse I am seeing the "end" event emitted, but not a "close" event. Is there a reason why "close" isn't triggered? Do you think it should be? This came up while looking at a fix for next-connect and allowing it to detect when the response is complete. https://github.com/hoangvvo/next-connect/pull/178
Stale issue message
Passing an event emitter as in the example here: https://github.com/howardabrams/node-mocks-http#createresponse I am seeing the "end" event emitted, but not a "close" event. Is there a reason why "close" isn't triggered? Do you think it should be? This came up while looking at a fix for next-connect and allowing it to detect when the response is complete. https://github.com/hoangvvo/next-connect/pull/178