MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / requestInitWithCache

Function requestInitWithCache

packages/trigger-sdk/src/apiClient.ts:938–951  ·  view source on GitHub ↗
(requestInit?: RequestInit)

Source from the content-addressed store, hash-verified

936}
937
938function requestInitWithCache(requestInit?: RequestInit): RequestInit {
939 try {
940 const withCache: RequestInit = {
941 ...requestInit,
942 cache: "no-cache",
943 };
944
945 const _ = new Request("http://localhost", withCache);
946
947 return withCache;
948 } catch (error) {
949 return requestInit ?? {};
950 }
951}
952
953async function fetchHead(
954 url: string,

Callers 3

zodfetchWithVersionsFunction · 0.70
fetchHeadFunction · 0.70
zodfetchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…