MCPcopy Index your code
hub / github.com/BlockRunAI/ClawRouter / fetchWithTimeout

Function fetchWithTimeout

test/test-e2e.ts:369–375  ·  view source on GitHub ↗
(
  url: string,
  init?: RequestInit,
  timeoutMs = REQUEST_TIMEOUT_MS,
)

Source from the content-addressed store, hash-verified

367}
368
369async function fetchWithTimeout(
370 url: string,
371 init?: RequestInit,
372 timeoutMs = REQUEST_TIMEOUT_MS,
373): Promise<Response> {
374 return fetch(url, { ...init, signal: init?.signal ?? timeoutSignal(timeoutMs) });
375}
376
377async function postJson(
378 proxy: ProxyHandle,

Callers 3

postJsonFunction · 0.85
runLocalSuiteFunction · 0.85
runLiveSuiteFunction · 0.85

Calls 1

timeoutSignalFunction · 0.85

Tested by

no test coverage detected