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

Function emitReadable

packages/main/test/pages/diffable-html.js:6569–6577  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

6567 // another read() call => stack overflow. This way, it might trigger
6568 // a nextTick recursion warning, but that's not so bad.
6569 function emitReadable(stream) {
6570 var state = stream._readableState;
6571 state.needReadable = false;
6572 if (!state.emittedReadable) {
6573 debug('emitReadable', state.flowing);
6574 state.emittedReadable = true;
6575 if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);
6576 }
6577 }
6578
6579 function emitReadable_(stream) {
6580 debug('emit readable');

Callers 3

addChunkFunction · 0.85
diffable-html.jsFile · 0.85
onEofChunkFunction · 0.85

Calls 1

emitReadable_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…