MCPcopy 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 */
97export 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

idleTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected