MCPcopy Index your code
hub / github.com/nodejs/node / checkAborted

Function checkAborted

lib/internal/fs/promises.js:1124–1127  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

1122}
1123
1124function checkAborted(signal) {
1125 if (signal?.aborted)
1126 throw new AbortError(undefined, { cause: signal.reason });
1127}
1128
1129async function writeFileHandle(filehandle, data, signal, encoding) {
1130 checkAborted(signal);

Callers 6

writeFileHandleFunction · 0.70
readFileHandleFunction · 0.70
writeFileFunction · 0.70
appendFileFunction · 0.70
readFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…