-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Use native AbortController when possible. #24
Comments
This was referenced Aug 18, 2020
Just in case other people stumble over this, there is the package https://github.com/achingbrain/native-abort-controller that works around this particular issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This library uses
browser
field ofpackage.json
in order to avoid including a shim and uses own implementation otherwise. That however creates problems when used in Electron (main process) because there it loads a own implementation which native APIs likefetch
reject with error like:It would be nice if implementation still checked for presence of native
AbortSignal
just in case it exists.The text was updated successfully, but these errors were encountered: