MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / onReconnect

Method onReconnect

packages/event-service/src/client.ts:308–313  ·  view source on GitHub ↗
(handler: () => void)

Source from the content-addressed store, hash-verified

306 this.stopPing();
307 this.connected = false;
308 }
309
310 /**
311 * Holds the socket open for this caller. The zero-to-one transition calls
312 * connect(); every subsequent call increments an internal refcount without
313 * creating a second socket. Call release() when the caller no longer needs
314 * the connection. Callers must pair every acquire with exactly one release.
315 */
316 async acquire(): Promise<void> {

Callers 8

useSidebarSessionsFunction · 0.80
connectFunction · 0.80
ensureBaseConnectionFunction · 0.80
MessageAreaFunction · 0.80

Calls 2

addMethod · 0.80
deleteMethod · 0.65

Tested by

no test coverage detected