MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / detach

Method detach

apps/cli/src/agent/json-event-emitter.ts:220–225  ·  view source on GitHub ↗

* Detach from the client and clean up subscriptions.

()

Source from the content-addressed store, hash-verified

218 * Detach from the client and clean up subscriptions.
219 */
220 detach(): void {
221 for (const unsub of this.unsubscribers) {
222 unsub()
223 }
224 this.unsubscribers = []
225 }
226
227 /**
228 * Compute the delta (new content) for a streaming message.

Callers 1

disposeHostFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected