MCPcopy
hub / github.com/di-sukharev/opencommit / onRemove

Function onRemove

out/cli.cjs:9707–9719  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9705 }
9706 socket.on("error", onError);
9707 function onRemove() {
9708 debug5(
9709 "%s(requests: %s, finished: %s) agentRemove",
9710 socket[SOCKET_NAME],
9711 socket[SOCKET_REQUEST_COUNT],
9712 socket[SOCKET_REQUEST_FINISHED_COUNT]
9713 );
9714 socket.removeListener("close", onClose);
9715 socket.removeListener("error", onError);
9716 socket.removeListener("free", onFree);
9717 socket.removeListener("timeout", onTimeout);
9718 socket.removeListener("agentRemove", onRemove);
9719 }
9720 socket.on("agentRemove", onRemove);
9721 }
9722 module2.exports = Agent6;

Callers

nothing calls this directly

Calls 2

debug5Function · 0.85
removeListenerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…