MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / timeoutReject

Function timeoutReject

source code/utils/computerUse/drainRunLoop.ts:46–48  ·  view source on GitHub ↗
(reject: (e: Error) => void)

Source from the content-addressed store, hash-verified

44const TIMEOUT_MS = 30_000
45
46function timeoutReject(reject: (e: Error) => void): void {
47 reject(new Error(`computer-use native call exceeded ${TIMEOUT_MS}ms`))
48}
49
50/**
51 * Hold a pump reference for the lifetime of a long-lived registration

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected