MCPcopy Create free account
hub / github.com/arctic-cli/interface / customFetch

Function customFetch

packages/sdk/js/src/client.ts:10–14  ·  view source on GitHub ↗
(req: any)

Source from the content-addressed store, hash-verified

8export function createArcticClient(config?: Config & { directory?: string }) {
9 if (!config?.fetch) {
10 const customFetch: any = (req: any) => {
11 // @ts-ignore
12 req.timeout = false
13 return fetch(req)
14 }
15 config = {
16 ...config,
17 fetch: customFetch,

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected