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

Function sendControlCancelRequest

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

Source from the content-addressed store, hash-verified

1801 logForDebugging('[bridge:repl] Sent control_response')
1802 },
1803 sendControlCancelRequest(requestId: string) {
1804 if (!transport) {
1805 logForDebugging(
1806 '[bridge:repl] Transport not configured, skipping control_cancel_request',
1807 )
1808 return
1809 }
1810 const event = {
1811 type: 'control_cancel_request' as const,
1812 request_id: requestId,
1813 session_id: currentSessionId,
1814 }
1815 void transport.write(event)
1816 logForDebugging(
1817 `[bridge:repl] Sent control_cancel_request request_id=${requestId}`,
1818 )
1819 },
1820 sendResult() {
1821 if (!transport) {
1822 logForDebugging(

Callers

nothing calls this directly

Calls 2

logForDebuggingFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected