MCPcopy Create free account
hub / github.com/apache/pouchdb / _setup

Method _setup

lib/index.js:4326–4333  ·  view source on GitHub ↗
(options, makeData)

Source from the content-addressed store, hash-verified

4324 }
4325
4326 _setup(options, makeData) {
4327 super.constructor({ objectMode: true, highWaterMark: options.highWaterMark });
4328
4329 // purely to keep `db` around until we're done so it's not GCed if the user doesn't keep a ref
4330 this._waiting = false;
4331 this._options = options;
4332 this._makeData = makeData;
4333 }
4334
4335 setIterator(it) {
4336 this._iterator = it;

Callers 1

constructorMethod · 0.95

Calls 1

constructorMethod · 0.45

Tested by

no test coverage detected