MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / unsubscribe

Method unsubscribe

packages/server/src/ws/connection.ts:643–647  ·  view source on GitHub ↗
(sid: string)

Source from the content-addressed store, hash-verified

641 }
642
643 private unsubscribe(sid: string): void {
644 if (!this.subscriptions.has(sid)) return;
645 this.subscriptions.delete(sid);
646 this.sessionClients.unsubscribe(this, sid);
647 }
648
649 private startPingTimer(): void {
650 this.pingTimer = setInterval(() => {

Callers 1

onUnsubscribeMethod · 0.95

Calls 3

hasMethod · 0.65
deleteMethod · 0.65
unsubscribeMethod · 0.65

Tested by

no test coverage detected