MCPcopy Create free account
hub / github.com/arctic-cli/interface / onMessage

Function onMessage

packages/arctic/src/server/server.ts:352–354  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

350 handler = Pty.connect(id, ws)
351 },
352 onMessage(event) {
353 handler?.onMessage(String(event.data))
354 },
355 onClose() {
356 handler?.onClose()
357 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected