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

Function abort

deps/undici/src/lib/web/fetch/index.js:2222–2222  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

2220 timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)
2221
2222 const abort = (reason) => controller.abort(reason)
2223
2224 if (connection.destroyed) {
2225 abort(new DOMException('The operation was aborted.', 'AbortError'))

Callers 1

onRequestStartFunction · 0.70

Calls 1

abortMethod · 0.65

Tested by

no test coverage detected