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

Method unsubscribe

packages/server/test/services.test.ts:46–48  ·  view source on GitHub ↗
(c: WsConnection, sid: string)

Source from the content-addressed store, hash-verified

44 set.add(c);
45 }
46 unsubscribe(c: WsConnection, sid: string): void {
47 this._bySession.get(sid)?.delete(c);
48 }
49 getConnections(sid: string): Iterable<WsConnection> {
50 return this._bySession.get(sid)?.values() ?? [];
51 }

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected