MCPcopy
hub / github.com/opactorai/Claudable / removeStream

Method removeStream

lib/services/stream.ts:44–53  ·  view source on GitHub ↗

* Remove SSE connection from project

(projectId: string, controller: ReadableStreamDefaultController)

Source from the content-addressed store, hash-verified

42 * Remove SSE connection from project
43 */
44 public removeStream(projectId: string, controller: ReadableStreamDefaultController): void {
45 const projectStreams = this.streams.get(projectId);
46 if (projectStreams) {
47 projectStreams.delete(controller);
48
49 if (projectStreams.size === 0) {
50 this.streams.delete(projectId);
51 }
52 }
53 }
54
55 /**
56 * Send event to all clients of a project

Callers 3

publishMethod · 0.95
startFunction · 0.80
cancelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected