MCPcopy
hub / github.com/cursor/community-plugins / sleep

Function sleep

apps/cursor/src/lib/github-plugin/parse.ts:133–133  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

131}
132
133const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
134
135/**
136 * Fetch with bounded retry on GitHub rate-limit (429 / 403 + retry-after).

Callers 1

fetchWithRateLimitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected