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

Function customViewCleanup

lib/index-browser.js:8413–8422  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

8411 // and override the default behavior
8412 /* istanbul ignore next */
8413 function customViewCleanup(db) {
8414 return new Promise(function (resolve, reject) {
8415 db._viewCleanup(function (err, res) {
8416 if (err) {
8417 return reject(err);
8418 }
8419 resolve(res);
8420 });
8421 });
8422 }
8423
8424 function defaultsTo(value) {
8425 return function (reason) {

Callers 1

createAbstractMapReduceFunction · 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…