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

Function createProgressSignal

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

Source from the content-addressed store, hash-verified

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

Callers 1

runPowerShellCommandFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected