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

Function customViewCleanup

lib/index.es.js:8446–8455  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

8444 // and override the default behavior
8445 /* istanbul ignore next */
8446 function customViewCleanup(db) {
8447 return new Promise(function (resolve, reject) {
8448 db._viewCleanup(function (err, res$$1) {
8449 if (err) {
8450 return reject(err);
8451 }
8452 resolve(res$$1);
8453 });
8454 });
8455 }
8456
8457 function defaultsTo(value) {
8458 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…