MCPcopy Create free account
hub / github.com/Devographics/Monorepo / fetchAndProcess

Function fetchAndProcess

shared/fetch/fetch.ts:251–254  ·  view source on GitHub ↗
(source: SourceType)

Source from the content-addressed store, hash-verified

249 }
250
251 async function fetchAndProcess<T>(source: SourceType) {
252 const data = await fetchFromSource()
253 return processFetchData<T>(data, source, key)
254 }
255
256 let resultPromise: Promise<FetchPayload<T>>
257

Callers 1

getFromCacheFunction · 0.85

Calls 1

processFetchDataFunction · 0.85

Tested by

no test coverage detected