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

Function sendControlCancelRequest

src/bridge/replBridge.ts:1820–1836  ·  view source on GitHub ↗
(requestId: string)

Source from the content-addressed store, hash-verified

1818 logForDebugging('[bridge:repl] Sent control_response')
1819 },
1820 sendControlCancelRequest(requestId: string) {
1821 if (!transport) {
1822 logForDebugging(
1823 '[bridge:repl] Transport not configured, skipping control_cancel_request',
1824 )
1825 return
1826 }
1827 const event = {
1828 type: 'control_cancel_request' as const,
1829 request_id: requestId,
1830 session_id: currentSessionId,
1831 }
1832 void transport.write(event)
1833 logForDebugging(
1834 `[bridge:repl] Sent control_cancel_request request_id=${requestId}`,
1835 )
1836 },
1837 sendResult() {
1838 if (!transport) {
1839 logForDebugging(

Callers

nothing calls this directly

Calls 2

logForDebuggingFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected