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

Function onAbort

lib/readline.js:145–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143 }
144
145 const onAbort = () => {
146 this[kQuestionCancel]();
147 };
148 addAbortListener ??= require('internal/events/abort_listener').addAbortListener;
149 const disposable = addAbortListener(options.signal, onAbort);
150 const originalCb = cb;

Callers

nothing calls this directly

Calls 1

rejectFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…