(stream)
| 831 | // another read() call => stack overflow. This way, it might trigger |
| 832 | // a nextTick recursion warning, but that's not so bad. |
| 833 | function emitReadable(stream) { |
| 834 | const state = stream._readableState; |
| 835 | debug('emitReadable'); |
| 836 | state[kState] &= ~kNeedReadable; |
| 837 | if ((state[kState] & kEmittedReadable) === 0) { |
| 838 | debug('emitReadable', (state[kState] & kFlowing) !== 0); |
| 839 | state[kState] |= kEmittedReadable; |
| 840 | process.nextTick(emitReadable_, stream); |
| 841 | } |
| 842 | } |
| 843 | |
| 844 | function emitReadable_(stream) { |
| 845 | const state = stream._readableState; |
no test coverage detected
searching dependent graphs…