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

Function stop

lib/internal/promise_hooks.js:82–88  ·  view source on GitHub ↗
(list, hook)

Source from the content-addressed store, hash-verified

80}
81
82function stop(list, hook) {
83 const index = ArrayPrototypeIndexOf(list, hook);
84 if (index >= 0) {
85 ArrayPrototypeSplice(list, index, 1);
86 update();
87 }
88}
89
90function makeUseHook(name) {
91 const list = hooks[name];

Callers 1

createHookFunction · 0.70

Calls 1

updateFunction · 0.70

Tested by

no test coverage detected