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

Function fetch

packages/yalt/src/index.ts:256–265  ·  view source on GitHub ↗
(url: RequestInfo, init?: RequestInit)

Source from the content-addressed store, hash-verified

254}
255
256function fetch(url: RequestInfo, init?: RequestInit) {
257 const fetchInit: RequestInit = { ...init };
258
259 // If agent is not specified, specify proxy-agent and use environment variables such as HTTPS_PROXY.
260 if (!fetchInit.agent) {
261 fetchInit.agent = new ProxyAgent();
262 }
263
264 return node_fetch(url, fetchInit);
265}

Callers 8

createTunnelMethod · 0.70
handleRequestMethod · 0.70
zodfetchFunction · 0.50
registerEndpointMethod · 0.50
zodfetchWithVersionsFunction · 0.50
fetchHeadFunction · 0.50
zodfetchFunction · 0.50
fetchWithInterceptorsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…