MCPcopy Create free account
hub / github.com/CopilotKit/aimock / upstreamTimeoutSignal

Function upstreamTimeoutSignal

src/video-proxy-shared.ts:109–111  ·  view source on GitHub ↗
(record: RecordConfig | undefined)

Source from the content-addressed store, hash-verified

107 * synthesis fallback).
108 */
109export function upstreamTimeoutSignal(record: RecordConfig | undefined): AbortSignal {
110 return AbortSignal.timeout(clampTimeout(record?.upstreamTimeoutMs, DEFAULT_UPSTREAM_TIMEOUT_MS));
111}
112
113/**
114 * Buffer a fetch Response body with IDLE-based timeout semantics: a timer

Callers 7

proxyVeoVideoSubmitFunction · 0.85
proxyVeoVideoRecordPollFunction · 0.85
proxyGrokVideoSubmitFunction · 0.85
proxyGrokVideoRecordPollFunction · 0.85

Calls 1

clampTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…