MCPcopy Create free account
hub / github.com/EvoMap/evolver / sleep

Function sleep

test/proxyChatCompletionsE2E.test.js:22–22  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

20const enc = new TextEncoder();
21const sse = (parts) => new ReadableStream({ start(c) { for (const p of parts) c.enqueue(enc.encode(p)); c.close(); } });
22const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
23
24let lastReqPath = null;
25function mockOpenAI(reqPath, body) {

Callers 1

readRowsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected