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

Function hasObserver

lib/internal/perf/observe.js:540–543  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

538setupObservers(observerCallback);
539
540function hasObserver(type) {
541 const observerType = getObserverType(type);
542 return observerCounts[observerType] > 0;
543}
544
545
546function startPerf(target, key, context = kEmptyObject) {

Callers 15

_http_client.jsFile · 0.85
parserOnIncomingClientFunction · 0.85
internalConnectFunction · 0.85
afterConnectFunction · 0.85
afterConnectMultipleFunction · 0.85
onlookupFunction · 0.85
onlookupallFunction · 0.85
lookupFunction · 0.85
onlookupserviceFunction · 0.85
lookupServiceFunction · 0.85
ServerResponseFunction · 0.85
_http_server.jsFile · 0.85

Calls 1

getObserverTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…