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

Function onClose

out/cli.cjs:9641–9650  ·  view source on GitHub ↗
(isError2)

Source from the content-addressed store, hash-verified

9639 }
9640 socket.on("free", onFree);
9641 function onClose(isError2) {
9642 debug5(
9643 "%s(requests: %s, finished: %s) close, isError: %s",
9644 socket[SOCKET_NAME],
9645 socket[SOCKET_REQUEST_COUNT],
9646 socket[SOCKET_REQUEST_FINISHED_COUNT],
9647 isError2
9648 );
9649 agent.closeSocketCount++;
9650 }
9651 socket.on("close", onClose);
9652 function onTimeout() {
9653 const listenerCount = socket.listeners("timeout").length;

Callers

nothing calls this directly

Calls 1

debug5Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…