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
AbortController.abort()
Aborts a DOM request before it has completed. This is able to abort fetch requests, consumption of any response bodies, and streams.
This way in node.js when we try to consume the response. It is already aborted.
Would it be possible to have an option to skip this?
Kind Regards,
Tomé
The text was updated successfully, but these errors were encountered:
Hi,
Thank you a lot for this library!
Looked at the code in https://github.com/connor4312/cockatiel/blob/master/src/TimeoutPolicy.ts#L100 and noticed that we trigger an
abort
in thefinally
.This behavior makes this signal unusable for the
fetch
API https://developer.mozilla.org/en-US/docs/Web/API/AbortController#instance_methodsThis way in node.js when we try to consume the response. It is already aborted.
Would it be possible to have an option to skip this?
Kind Regards,
Tomé
The text was updated successfully, but these errors were encountered: