MCPcopy
hub / github.com/apache/pouchdb / checkDone

Function checkDone

lib/index-browser.js:246–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

244 }
245
246 function checkDone() {
247 if (++numDone === numDocs) {
248 collapseResultsAndFinish();
249 }
250 }
251
252 function gotResult(docIndex, id, docs) {
253 perDocResults[docIndex] = {id, docs};

Callers 8

gotResultFunction · 0.70
fetchAttachmentFunction · 0.70
compactRevsFunction · 0.70
readMetadataFunction · 0.70
fetchExistingDocsFunction · 0.70
verifyAttachmentsFunction · 0.70
addFunction · 0.70

Calls 4

collapseResultsAndFinishFunction · 0.70
idbProcessDocsFunction · 0.70
finishFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…