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

Function needMoreData

static/word2md/mammoth.browser.js:24396–24398  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

24394// needReadable was set, then we ought to push more, so that another
24395// 'readable' event will be triggered.
24396function needMoreData(state) {
24397 return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);
24398}
24399
24400// backwards compatibility.
24401Readable.prototype.setEncoding = function (enc) {

Callers 1

readableAddChunkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected