MCPcopy Create free account
hub / github.com/cursor/plugins / sleep

Function sleep

orchestrate/skills/orchestrate/scripts/tools/nudge-root.ts:174–176  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

172}
173
174async function sleep(ms: number): Promise<void> {
175 await new Promise(r => setTimeout(r, ms));
176}
177
178async function waitUntilIdle(args: Args, deadline: number): Promise<void> {
179 let attempt = 0;

Callers 6

waitUntilIdleFunction · 0.85
sendWithBusyRetryFunction · 0.85
spawnTaskMethod · 0.85
waitAndHandoffMethod · 0.85
pollLoopFunction · 0.85
inspectRunStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected