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

Method _promiseResolve

test/async-hooks/init-hooks.js:214–219  ·  view source on GitHub ↗
(uid)

Source from the content-addressed store, hash-verified

212 }
213
214 _promiseResolve(uid) {
215 const h = this._getActivity(uid, 'promiseResolve');
216 this._stamp(h, 'promiseResolve');
217 this._maybeLog(uid, h?.type, 'promiseResolve');
218 this.onpromiseResolve(uid);
219 }
220
221 _maybeLog(uid, type, name) {
222 if (this._logid &&

Callers

nothing calls this directly

Calls 3

_getActivityMethod · 0.95
_stampMethod · 0.95
_maybeLogMethod · 0.95

Tested by

no test coverage detected