MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Readable

Function Readable

static/word2md/mammoth.browser.js:24298–24311  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

24296}
24297
24298function Readable(options) {
24299 Duplex = Duplex || require('./_stream_duplex');
24300
24301 if (!(this instanceof Readable)) return new Readable(options);
24302
24303 this._readableState = new ReadableState(options, this);
24304
24305 // legacy
24306 this.readable = true;
24307
24308 if (options && typeof options.read === 'function') this._read = options.read;
24309
24310 Stream.call(this);
24311}
24312
24313// Manually shove something into the read() buffer.
24314// This returns true if the highWaterMark has not been hit yet,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected