MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / resolveCompletion

Function resolveCompletion

packages/agent-core/test/tools/agent.test.ts:475–475  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473
474 it('can detach a foreground subagent through the background manager', async () => {
475 let resolveCompletion: (value: { result: string }) => void = () => {};
476 const completion = new Promise<{ result: string }>((resolve) => {
477 resolveCompletion = resolve;
478 });

Callers 2

agent.test.tsFile · 0.85
manager.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected