Open
Description
What is the feature you are proposing?
As mentioned in Discord, could we have the ability to create event listeners for client disconnect or abort events? I would expect to be able to use them like c.addListener('abort', () => { ...}
and optionally c.on('abort', () => { ...}
. Of course, we need the removeListener and off functions as well for completeness.