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

Function getQueue

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

Source from the content-addressed store, hash-verified

8586 }
8587
8588 function getQueue(view) {
8589 const viewName = typeof view === 'string' ? view : view.name;
8590 let queue = persistentQueues[viewName];
8591 if (!queue) {
8592 queue = persistentQueues[viewName] = new TaskQueue$1();
8593 }
8594 return queue;
8595 }
8596
8597 async function updateView(view, opts) {
8598 return sequentialize(getQueue(view), function () {

Callers 3

updateViewFunction · 0.70
queryViewFunction · 0.70
localViewCleanupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…