MCPcopy Index your code
hub / github.com/continuedev/continue / markProcessAsRunning

Function markProcessAsRunning

core/util/processTerminalStates.ts:32–46  ·  view source on GitHub ↗
(
  toolCallId: string,
  process: ChildProcess,
  onPartialOutput?: (params: {
    toolCallId: string;
    contextItems: any[];
  }) => void,
  currentOutput: string = "",
)

Source from the content-addressed store, hash-verified

30
31// Foreground process functions (new)
32export function markProcessAsRunning(
33 toolCallId: string,
34 process: ChildProcess,
35 onPartialOutput?: (params: {
36 toolCallId: string;
37 contextItems: any[];
38 }) => void,
39 currentOutput: string = "",
40): void {
41 processTerminalForegroundStates.set(toolCallId, {
42 process,
43 onPartialOutput,
44 currentOutput,
45 });
46}
47
48export function isProcessRunning(toolCallId: string): boolean {
49 return processTerminalForegroundStates.has(toolCallId);

Callers 2

runTerminalCommandImplFunction · 0.90

Calls 1

setMethod · 0.65

Tested by

no test coverage detected