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

Method startPing

packages/event-service/src/client.ts:387–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385 * Returns an unsubscribe function. Calling it removes the handler.
386 */
387 onConnected(handler: () => void): () => void {
388 this.connectedHandlers.add(handler);
389 if (this.isConnected()) {
390 handler();
391 }
392 return () => {
393 this.connectedHandlers.delete(handler);
394 };
395 }
396
397 /**

Callers 1

connectOnceMethod · 0.95

Calls 2

stopPingMethod · 0.95
sendMethod · 0.65

Tested by

no test coverage detected