Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ sleep
Function
sleep
common/src/util/promise.ts:44–44 ·
view source on GitHub ↗
(ms: number)
Source
from the content-addressed store, hash-verified
42
}
43
44
export
const
sleep = (ms: number) =>
new
Promise((r) => setTimeout(r, ms))
45
46
/**
47
* Wraps a promise with a timeout
Callers
3
TerminalDemo
Function · 0.90
handleSignIn
Function · 0.90
postWebSearch
Function · 0.90
Calls
1
setTimeout
Function · 0.85
Tested by
no test coverage detected