MCPcopy Index your code
hub / github.com/nodejs/node / endReadable

Function endReadable

lib/internal/streams/readable.js:1730–1738  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

1728}
1729
1730function endReadable(stream) {
1731 const state = stream._readableState;
1732
1733 debug('endReadable');
1734 if ((state[kState] & kEndEmitted) === 0) {
1735 state[kState] |= kEnded;
1736 process.nextTick(endReadableNT, state, stream);
1737 }
1738}
1739
1740function endReadableNT(state, stream) {
1741 debug('endReadableNT');

Callers 1

readable.jsFile · 0.85

Calls 1

debugFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…