(stream, state, finished, cb)
| 25666 | } |
| 25667 | |
| 25668 | function afterWrite(stream, state, finished, cb) { |
| 25669 | if (!finished) onwriteDrain(stream, state); |
| 25670 | state.pendingcb--; |
| 25671 | cb(); |
| 25672 | finishMaybe(stream, state); |
| 25673 | } |
| 25674 | |
| 25675 | // Must force callback to be called on nextTick, so that we don't |
| 25676 | // emit 'drain' before the write() consumer gets the 'false' return |
no test coverage detected