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

Method onMessage

ref/gateway_client.js:444–447  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

442 }, ms);
443
444 const onMessage = (data) => {
445 clearTimeout(timer);
446 resolve(data);
447 };
448
449 this.ws.once('message', onMessage);
450 this.ws.once('error', (err) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected