How to use the level-iterator-stream.call function in level-iterator-stream

To help you get started, we’ve selected a few level-iterator-stream examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dominictarr / level-sublevel / read-stream.js View on Github external
function ReadStream (options, makeData) {
  if (!(this instanceof ReadStream)) {
    return new ReadStream(options, makeData);
  }

  IteratorStream.call(this, null, options);

  this._waiting = false;
  this._makeData = makeData;
}

level-iterator-stream

Turn an abstract-leveldown iterator into a readable stream

MIT
Latest version published 4 years ago

Package Health Score

56 / 100
Full package analysis