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

Method subscribe

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

Source from the content-addressed store, hash-verified

635 }
636
637 private subscribe(sid: string): void {
638 if (this.subscriptions.has(sid)) return;
639 this.subscriptions.add(sid);
640 this.sessionClients.subscribe(this, sid);
641 }
642
643 private unsubscribe(sid: string): void {
644 if (!this.subscriptions.has(sid)) return;

Callers 1

syncSessionsMethod · 0.95

Calls 3

hasMethod · 0.65
addMethod · 0.65
subscribeMethod · 0.65

Tested by

no test coverage detected