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

Function delay

packages/agent-core/test/agent/plan.test.ts:602–604  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

600});
601
602function delay(ms: number): Promise<void> {
603 return new Promise((resolve) => setTimeout(resolve, ms));
604}
605
606function lastUserText(history: readonly { role: string; content: readonly unknown[] }[]): string {
607 const message = history.findLast((item) => item.role === 'user');

Callers 8

removeTempDirFunction · 0.85
waitForAgentWireEventFunction · 0.85
removeTempDirFunction · 0.85
mainFunction · 0.85
waitForEventFunction · 0.85
plan.test.tsFile · 0.85
waitForFileFunction · 0.85
withTimeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected