Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/coder/code-server
/ start
Function
start
test/utils/helpers.ts:98–98 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
*/
97
export
function
idleTimer(message: string, reject: (error: Error) => void, delay = 5000) {
98
const
start = () => setTimeout(() => reject(
new
Error(message)), delay)
99
let
timeout = start()
100
return
{
101
reset: () => {
Callers
1
idleTimer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected