Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ sleep
Function
sleep
packages/opencode/test/fixture/plug-worker.ts:19–23 ·
view source on GitHub ↗
(ms: number)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
sleep(ms: number) {
20
return
new
Promise<void>((resolve) => {
21
setTimeout(resolve, ms)
22
})
23
}
24
25
function
input() {
26
const
raw = process.argv[2]
Callers
10
deps
Function · 0.70
rm
Function · 0.50
pull
Function · 0.50
authFile
Function · 0.50
waitForHealth
Function · 0.50
pollDeviceCodeToken
Function · 0.50
callback
Function · 0.50
callback
Function · 0.50
installGitHubApp
Function · 0.50
withRetry
Function · 0.50
Calls
no outgoing calls
Tested by
2
pull
Function · 0.40
authFile
Function · 0.40