MCPcopy Index your code
hub / github.com/anomalyco/opencode / sleep

Function sleep

script/github/close-prs.ts:386–388  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

384}
385
386function sleep(ms: number) {
387 return new Promise((resolve) => setTimeout(resolve, ms))
388}
389
390void main().catch((error) => {
391 console.error("Error:", error)

Callers 4

mainFunction · 0.70
fetchOpenPullRequestsFunction · 0.70
githubRequestFunction · 0.70
assertOpencodeConnectedFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected