(record: RecordConfig | undefined)
| 107 | * synthesis fallback). |
| 108 | */ |
| 109 | export 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 |
no test coverage detected
searching dependent graphs…