MCPcopy Create free account
hub / github.com/allocnode/oh-my-sage / startReceiveLoop

Method startReceiveLoop

ref/gateway_client.js:457–461  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

455 }
456
457 startReceiveLoop() {
458 this.ws.on('message', (data) => {
459 this.handleMessage(data);
460 });
461 }
462
463 handleMessage(data) {
464 if (!data || data.length === 0) return;

Callers 1

authenticateMethod · 0.95

Calls 1

handleMessageMethod · 0.95

Tested by

no test coverage detected