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

Function sendResult

src/bridge/remoteBridgeCore.ts:859–867  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

857 )
858 },
859 sendResult() {
860 if (authRecoveryInFlight) {
861 logForDebugging('[remote-bridge] Dropping result during 401 recovery')
862 return
863 }
864 transport.reportState('idle')
865 void transport.write(makeResultMessage(sessionId))
866 logForDebugging(`[remote-bridge] Sent result`)
867 },
868 async teardown() {
869 unregister()
870 await teardown()

Callers

nothing calls this directly

Calls 4

makeResultMessageFunction · 0.85
reportStateMethod · 0.80
logForDebuggingFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected