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
You are right, @solmsted. As far as I know, AbortSignal and AbortController are not supported in Node.JS. One reason is that DOMException is not defined in Node.JS.
APIs that rely upon AbortController are encouraged to respond to abort() by rejecting any unsettled promise with a new "AbortError" DOMException.
At this point, the library either triggers an early exception when trying to use a signal in node, or it throws a regular Exception when aborting in node.
Using node.js v8.11.1
Simple example to reproduce:
This results in an error:
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ReferenceError: DOMException is not defined
The text was updated successfully, but these errors were encountered: