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

Function resolver

lib/events.js:1004–1012  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

1002 reject(err);
1003 };
1004 const resolver = (...args) => {
1005 if (typeof emitter.removeListener === 'function') {
1006 emitter.removeListener('error', errorListener);
1007 }
1008 if (signal != null) {
1009 eventTargetAgnosticRemoveListener(signal, 'abort', abortListener);
1010 }
1011 resolve(args);
1012 };
1013
1014 kResistStopPropagation ??= require('internal/event_target').kResistStopPropagation;
1015 const opts = { __proto__: null, once: true, [kResistStopPropagation]: true };

Callers 2

interceptThenFunction · 0.50
sendItemFunction · 0.50

Calls 3

resolveFunction · 0.70
removeListenerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…