MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / sleep

Function sleep

cli/src/__tests__/test-utils.ts:52–53  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

50 * Sleep utility for async delays
51 */
52export const sleep = (ms: number) =>
53 new Promise((resolve) => setTimeout(resolve, ms))
54
55let cachedEnv: Record<string, string> | null = null
56

Callers 3

testCLIWithTmuxFunction · 0.90

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected