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

Function isAborted

deps/undici/src/lib/web/fetch/util.js:708–710  ·  view source on GitHub ↗
(fetchParams)

Source from the content-addressed store, hash-verified

706}
707
708function isAborted (fetchParams) {
709 return fetchParams.controller.state === 'aborted'
710}
711
712function isCancelled (fetchParams) {
713 return fetchParams.controller.state === 'aborted' ||

Callers 3

httpNetworkFetchFunction · 0.70
onAbortedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected