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

Function createProgressSignal

src/tools/PowerShellTool/PowerShellTool.tsx:713–717  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

711 // waiting for the next setTimeout tick (matches BashTool pattern).
712 let resolveProgress: (() => void) | null = null;
713 function createProgressSignal(): Promise<null> {
714 return new Promise<null>(resolve => {
715 resolveProgress = () => resolve(null);
716 });
717 }
718 const shouldAutoBackground = !isBackgroundTasksDisabled && isAutobackgroundingAllowed(command);
719 const powershellPath = await getCachedPowerShellPath();
720 if (!powershellPath) {

Callers 1

runPowerShellCommandFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected