Would support for AbortController be considered? (in the addEventListener, on, and once functions)
Supported in all browsers and node, you can pass a signal option parameter to the native addEventListener function.
The listener will be removed when the given AbortSignal object's abort() method is called. If not specified, no AbortSignal is associated with the listener.
Links:
https://developer.mozilla.org/en-US/docs/Web/API/AbortController
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal
Would support for AbortController be considered? (in the
addEventListener,on, andoncefunctions)Supported in all browsers and node, you can pass a
signaloption parameter to the nativeaddEventListenerfunction.Links:
https://developer.mozilla.org/en-US/docs/Web/API/AbortController
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal