MCPcopy Create free account
hub / github.com/nodejs/node / isAborted

Function isAborted

deps/undici/undici.js:5600–5602  ·  view source on GitHub ↗
(fetchParams)

Source from the content-addressed store, hash-verified

5598 }
5599 __name(sameOrigin, "sameOrigin");
5600 function isAborted(fetchParams) {
5601 return fetchParams.controller.state === "aborted";
5602 }
5603 __name(isAborted, "isAborted");
5604 function isCancelled(fetchParams) {
5605 return fetchParams.controller.state === "aborted" || fetchParams.controller.state === "terminated";

Callers 3

httpNetworkFetchFunction · 0.70
onAbortedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected