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

Function shouldContinue

src/Data/CoreCacheSync.js:38–40  ·  view source on GitHub ↗
(syncEpoch)

Source from the content-addressed store, hash-verified

36}
37
38function shouldContinue(syncEpoch) {
39 return active && navigator.onLine && syncEpoch === getCacheEpoch();
40}
41
42function waitForIdle(syncEpoch) {
43 return new Promise((resolve) => {

Callers 4

waitForIdleFunction · 0.85
prefetchInBatchesFunction · 0.85
prefetchProfilesFunction · 0.85
syncCoreCacheFunction · 0.85

Calls 1

getCacheEpochFunction · 0.90

Tested by

no test coverage detected