MCPcopy Create free account
hub / github.com/apache/pouchdb / createTask

Function createTask

lib/index-browser.es.js:8586–8593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8584 let currentSeq = view.seq || 0;
8585
8586 function createTask() {
8587 return view.sourceDB.info().then(function (info) {
8588 taskId = view.sourceDB.activeTasks.add({
8589 name: 'view_indexing',
8590 total_items: info.update_seq - currentSeq,
8591 });
8592 });
8593 }
8594
8595 function processChange(docIdsToChangesAndEmits, seq) {
8596 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…