emittery
emittery copied to clipboard
Support AbortController
It would be awesome if it was possible to pass an AbortController to Emittery as part of the options for on(), the same way addEventListener allows. This would make complex listener removal scenarios much easier to work with, such as removing all event listeners when a specific event listener fires.