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

Function abort

lib/internal/streams/pipeline.js:205–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 validateAbortSignal(outerSignal, 'options.signal');
204
205 function abort() {
206 finishImpl(new AbortError(undefined, { cause: outerSignal?.reason }));
207 }
208
209 addAbortListener ??= require('internal/events/abort_listener').addAbortListener;
210 let disposable;

Callers

nothing calls this directly

Calls 1

finishImplFunction · 0.85

Tested by

no test coverage detected