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

Function sequentialize

lib/index.es.js:7871–7879  ·  view source on GitHub ↗
(queue, promiseFactory)

Source from the content-addressed store, hash-verified

7869}
7870
7871function sequentialize(queue, promiseFactory) {
7872 return function () {
7873 var args = arguments;
7874 var that = this;
7875 return queue.add(function () {
7876 return promiseFactory.apply(that, args);
7877 });
7878 };
7879}
7880
7881// uniq an array of strings, order not guaranteed
7882// similar to underscore/lodash _.uniq

Callers 3

updateViewFunction · 0.70
queryViewFunction · 0.70
localViewCleanupFunction · 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…