-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Support AbortController
#449
Comments
The When using the
Which would lead to the following action items:
What do you think? |
Would it be not possible to just mark this API be available on Node 14.18.0 or higher version, and not dropping Node 12 support? I think dropping Node 12 is okay though because the official maintenance is coming to end as you mentioned.
In my humble opinion, I think it could feel a little awkward to have two APIs that work the same thing,
When |
👍 |
Node.js is adopting it for everything, so I think we should support it too.
https://developer.mozilla.org/en-US/docs/Web/API/AbortController
Node.js just added support for it in
.spawn()
: https://nodejs.org/en/blog/release/v15.5.0/This would not replace the current
.cancel()
function, in the near-term at least.The text was updated successfully, but these errors were encountered: