MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / worker

Function worker

e2e/cloud/mcp-destroyed-session-envelope.test.ts:206–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 // settles, so the session object is never idle and the DELETE has to
205 // land on top of real traffic.
206 const worker = async (): Promise<void> => {
207 while (Date.now() < hardStopAt && Date.now() < stopAfterWipeAt) await probeOnce();
208 };
209 const workers = Array.from({ length: concurrency }, () => worker());
210
211 await new Promise((resolve) => setTimeout(resolve, warmupMs));

Calls 1

probeOnceFunction · 0.85

Tested by

no test coverage detected