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

Function createTask

lib/index.es.js:8623–8630  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8621 let currentSeq = view.seq || 0;
8622
8623 function createTask() {
8624 return view.sourceDB.info().then(function (info) {
8625 taskId = view.sourceDB.activeTasks.add({
8626 name: 'view_indexing',
8627 total_items: info.update_seq - currentSeq,
8628 });
8629 });
8630 }
8631
8632 function processChange(docIdsToChangesAndEmits, seq) {
8633 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…