Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbortController Support #269

Open
Bas950 opened this issue Apr 14, 2024 · 2 comments
Open

AbortController Support #269

Bas950 opened this issue Apr 14, 2024 · 2 comments

Comments

@Bas950
Copy link

Bas950 commented Apr 14, 2024

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

@Bas950
Copy link
Author

Bas950 commented Apr 14, 2024

Oh, I just read a comment here: #268 (comment).
This is probably out of scope for this project too.

@sesh92
Copy link

sesh92 commented Nov 8, 2024

@lpinca

Oh, I just read a comment here: #268 (comment). This is probably out of scope for this project too.

It is not compatible current implementation missing the static functions on, once nodejs source

All magic with the abort controller happens there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants