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

Function sendResult

src/bridge/replBridge.ts:1837–1848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1835 )
1836 },
1837 sendResult() {
1838 if (!transport) {
1839 logForDebugging(
1840 `[bridge:repl] sendResult: skipping, transport not configured session=${currentSessionId}`,
1841 )
1842 return
1843 }
1844 void transport.write(makeResultMessage(currentSessionId))
1845 logForDebugging(
1846 `[bridge:repl] Sent result for session=${currentSessionId}`,
1847 )
1848 },
1849 async teardown() {
1850 unregister()
1851 await doTeardownImpl?.()

Callers

nothing calls this directly

Calls 3

makeResultMessageFunction · 0.85
logForDebuggingFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected