MCPcopy Create free account
hub / github.com/UI5/webcomponents / maybeReadMore

Function maybeReadMore

packages/main/test/pages/diffable-html.js:6591–6596  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

6589 // However, if we're not ended, or reading, and the length < hwm,
6590 // then go ahead and try to read some more preemptively.
6591 function maybeReadMore(stream, state) {
6592 if (!state.readingMore) {
6593 state.readingMore = true;
6594 pna.nextTick(maybeReadMore_, stream, state);
6595 }
6596 }
6597
6598 function maybeReadMore_(stream, state) {
6599 var len = state.length;

Callers 2

readableAddChunkFunction · 0.85
addChunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…