MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / prefetchProgramDescriptions

Function prefetchProgramDescriptions

src/Data/CoreCacheSync.js:71–75  ·  view source on GitHub ↗
(programIds, syncEpoch)

Source from the content-addressed store, hash-verified

69}
70
71async function prefetchProgramDescriptions(programIds, syncEpoch) {
72 await prefetchInBatches(programIds, DESCRIPTION_BATCH_SIZE, syncEpoch, (batch) => (
73 getProgramDescs(batch, false, {priority: BACKGROUND_PRIORITY})
74 ));
75}
76
77async function prefetchCoreCache() {
78 const [programs, applicants] = await Promise.all([

Callers 1

syncCoreCacheFunction · 0.85

Calls 2

getProgramDescsFunction · 0.90
prefetchInBatchesFunction · 0.85

Tested by

no test coverage detected