MCPcopy Create free account
hub / github.com/Noumena-Network/code / cleanup

Method cleanup

src/remote/appServer/client.ts:453–457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

451 )
452 }
453 const cleanup = () => {
454 ws.off('message', onMessage)
455 ws.off('close', onClose)
456 ws.off('error', onError)
457 }
458 ws.on('message', onMessage)
459 ws.once('close', onClose)
460 ws.once('error', onError)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected