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

Function createTask

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

Source from the content-addressed store, hash-verified

8588 let currentSeq = view.seq || 0;
8589
8590 function createTask() {
8591 return view.sourceDB.info().then(function (info) {
8592 taskId = view.sourceDB.activeTasks.add({
8593 name: 'view_indexing',
8594 total_items: info.update_seq - currentSeq,
8595 });
8596 });
8597 }
8598
8599 function processChange(docIdsToChangesAndEmits, seq) {
8600 return function () {

Callers 1

updateViewInQueueFunction · 0.70

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…