MCPcopy
hub / github.com/CodebuffAI/codebuff / resolve

Function resolve

sdk/src/run.ts:277–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275 const traceSessionId = previousRun?.traceSessionId ?? crypto.randomUUID()
276
277 let resolve: (value: RunReturnType) => any = () => {}
278 let _reject: (error: any) => any = () => {}
279 const promise = new Promise<RunReturnType>((res, rej) => {
280 resolve = res

Callers 15

runOnceFunction · 0.70
handlePromptResponseFunction · 0.70
childProcessToPromiseFunction · 0.70
glob.test.tsFile · 0.50
greetAsyncFunction · 0.50
tmuxFunction · 0.50
streamToStringFunction · 0.50
checkForUpdatesFunction · 0.50
connectThroughProxyFunction · 0.50
httpGetFunction · 0.50
next.config.mjsFile · 0.50

Calls

no outgoing calls

Tested by 2

greetAsyncFunction · 0.40
tmuxFunction · 0.40