MCPcopy Create free account
hub / github.com/codeaashu/claude-code / stopPing

Function stopPing

src/server/web/public/terminal.js:8915–8919  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8913 lastPingSent = Date.now();
8914 sendJSON({ type: "ping" });
8915 }
8916 }, PING_INTERVAL_MS);
8917}
8918function stopPing() {
8919 if (pingTimer) clearInterval(pingTimer);
8920 pingTimer = null;
8921 latencyEl.textContent = "--";
8922}

Callers 2

onDisconnectFunction · 0.70
startPingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected