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

Function createProgressSignal

src/tools/BashTool/BashTool.tsx:871–875  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

869 // waking the generator to yield a progress update.
870 let resolveProgress: (() => void) | null = null;
871 function createProgressSignal(): Promise<null> {
872 return new Promise<null>(resolve => {
873 resolveProgress = () => resolve(null);
874 });
875 }
876
877 // Determine if auto-backgrounding should be enabled
878 // Only enable for commands that are allowed to be auto-backgrounded

Callers 1

runShellCommandFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected