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

Function removeAll

lib/events.js:1239–1243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1237 ArrayPrototypePush(listeners, [emitter, event, handler, flags]);
1238 },
1239 removeAll() {
1240 while (listeners.length > 0) {
1241 ReflectApply(eventTargetAgnosticRemoveListener, undefined, ArrayPrototypePop(listeners));
1242 }
1243 },
1244 };
1245}

Callers 1

closeHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected