You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm developing a plain JavaScript library that heavily uses AbortController and AbortSignal. In particular, I use the controller.signal.throwIfAborted method, but it seems not implemented in happy-dom.
Describe the solution you'd like
I want the method to be implemented.
Describe alternatives you've considered
I can manage it manually with the following code
Is your feature request related to a problem? Please describe.
I'm developing a plain JavaScript library that heavily uses
AbortController
andAbortSignal
. In particular, I use thecontroller.signal.throwIfAborted
method, but it seems not implemented inhappy-dom
.Describe the solution you'd like
I want the method to be implemented.
Describe alternatives you've considered
I can manage it manually with the following code
But it isn't enjoyable.
Additional context
This feature request is compliant with the standard https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/throwIfAborted
If you want, I can send a PR with the implementation.
The text was updated successfully, but these errors were encountered: