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

Function sleep

packages/server/test/fs-watch.e2e.test.ts:226–227  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

224}
225
226const sleep = (ms: number): Promise<void> =>
227 new Promise((r) => setTimeout(r, ms));
228
229/** Time we give chokidar to register newly-watched paths before we mutate. */
230const WATCH_SETTLE_MS = 150;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected