Skip to content

add abort support to request via AbortError #36

Merged
oilyquack merged 3 commits intomainfrom
sc-19998/handle-aborted-fetch-requests
Apr 1, 2026
Merged

add abort support to request via AbortError #36
oilyquack merged 3 commits intomainfrom
sc-19998/handle-aborted-fetch-requests

Conversation

@oilyquack
Copy link
Copy Markdown
Contributor

Attaches an abort() method to the promise returned by request(), backed
by an internal AbortController. Aborted requests reject with a new
AbortError class rather than NetworkError, making the two cases
distinguishable.

Attaches an abort() method to the promise returned by request(), backed
by an internal AbortController. Aborted requests reject with a new
AbortError class rather than NetworkError, making the two cases
distinguishable.
@oilyquack oilyquack force-pushed the sc-19998/handle-aborted-fetch-requests branch from d5cf558 to 991cfc5 Compare April 1, 2026 14:47
@oilyquack oilyquack merged commit a214a51 into main Apr 1, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants