MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / sleep

Function sleep

__tests__/parse-pool.test.ts:17–17  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

15import type { Language, ExtractionResult } from '../src/types';
16
17const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
18
19interface ParseMsg { type: 'parse'; id: number; filePath: string; content: string; language: Language }
20type Action = { result: ExtractionResult } | { crash: true } | { hang: true } | { wait: Promise<ExtractionResult> };

Callers 1

parse-pool.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected