MCPcopy Create free account
hub / github.com/freecodexyz/free-code / timeoutReject

Function timeoutReject

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

Source from the content-addressed store, hash-verified

42const TIMEOUT_MS = 30_000
43
44function timeoutReject(reject: (e: Error) => void): void {
45 reject(new Error(`computer-use native call exceeded ${TIMEOUT_MS}ms`))
46}
47
48/**
49 * 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