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

Method _before

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

Source from the content-addressed store, hash-verified

191 }
192
193 _before(uid) {
194 const h = this._getActivity(uid, 'before');
195 this._stamp(h, 'before');
196 this._maybeLog(uid, h?.type, 'before');
197 this.onbefore(uid);
198 }
199
200 _after(uid) {
201 const h = this._getActivity(uid, 'after');

Callers

nothing calls this directly

Calls 3

_getActivityMethod · 0.95
_stampMethod · 0.95
_maybeLogMethod · 0.95

Tested by

no test coverage detected