MCPcopy Index your code
hub / github.com/apache/pouchdb / docWritten

Function docWritten

lib/index.js:4790–4796  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4788 var numDone = 0;
4789
4790 function docWritten() {
4791 if (++numDone < docs.length) {
4792 nextDoc();
4793 } else {
4794 checkAllDocsDone();
4795 }
4796 }
4797 function nextDoc() {
4798 var value = docs[numDone];
4799 var currentDoc = value[0];

Callers

nothing calls this directly

Calls 2

nextDocFunction · 0.70
checkAllDocsDoneFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…