MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / stopTailing

Function stopTailing

lib/transcript.js:395–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

393}
394
395function stopTailing() {
396 if (state.tailTimer) { clearInterval(state.tailTimer); state.tailTimer = null; }
397 if (state.switchWatcher) { clearInterval(state.switchWatcher); state.switchWatcher = null; }
398 if (state.switchWatcherDelayTimer) { clearTimeout(state.switchWatcherDelayTimer); state.switchWatcherDelayTimer = null; }
399 if (state.expectingSwitchTimer) { clearTimeout(state.expectingSwitchTimer); state.expectingSwitchTimer = null; }
400 state.expectingSwitch = false;
401 state.pendingSwitchTarget = null;
402 state.pendingInitialClearTranscript = null;
403 state.tailRemainder = Buffer.alloc(0);
404}
405
406// ============================================================
407// Session Scanner

Callers 2

spawnClaudeFunction · 0.85
restartClaudeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected