MCPcopy Create free account
hub / github.com/codename-co/stack / FetchOptions

Interface FetchOptions

packages/scripts/maintenance/lib/upstream.ts:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
100
101interface FetchOptions {
102 /** Bypass the on-disk cache for this request. */
103 noCache?: boolean;
104 /** 404 is a legitimate answer for "does this tag exist?" style lookups. */
105 allow404?: boolean;
106}
107
108/**
109 * GET a JSON endpoint, with cache, retries and rate-limit awareness.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected