Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
386
function
sleep(ms: number) {
387
return
new
Promise((resolve) => setTimeout(resolve, ms))
388
}
389
390
void main().catch((error) => {
391
console.error(
"Error:"
, error)
Callers
4
main
Function · 0.70
fetchOpenPullRequests
Function · 0.70
githubRequest
Function · 0.70
assertOpencodeConnected
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected