(stream)
| 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'); |
no test coverage detected
searching dependent graphs…