MCPcopy Create free account
hub / github.com/codeaashu/claude-code / setOnData

Function setOnData

src/bridge/replBridgeTransport.ts:301–303  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

299 return 'connecting'
300 },
301 setOnData(cb) {
302 sse.setOnData(cb)
303 },
304 setOnClose(cb) {
305 onCloseCb = cb
306 // SSE reconnect-budget exhaustion fires onClose(undefined) — map to

Callers

nothing calls this directly

Calls 1

setOnDataMethod · 0.45

Tested by

no test coverage detected