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

Function enable

lib/internal/inspector/network.js:74–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73function registerDiagnosticChannels(listenerPairs) {
74 function enable() {
75 ArrayPrototypeForEach(listenerPairs, ({ 0: channel, 1: listener }) => {
76 dc.subscribe(channel, listener);
77 });
78 }
79
80 function disable() {
81 ArrayPrototypeForEach(listenerPairs, ({ 0: channel, 1: listener }) => {

Callers

nothing calls this directly

Calls 1

subscribeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…