MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / sleep

Function sleep

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

Source from the content-addressed store, hash-verified

14import type { ToolResult } from '../src/mcp/tools';
15
16const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
17
18interface CallMsg { type: 'call'; id: number; toolName: string; args: Record<string, unknown> }
19type Action = { result: ToolResult } | { crash: true } | { hang: true } | { wait: Promise<ToolResult> };

Callers 1

query-pool.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected