(stream, state, finished, cb)
| 25345 | } |
| 25346 | |
| 25347 | function afterWrite(stream, state, finished, cb) { |
| 25348 | if (!finished) onwriteDrain(stream, state); |
| 25349 | state.pendingcb--; |
| 25350 | cb(); |
| 25351 | finishMaybe(stream, state); |
| 25352 | } |
| 25353 | |
| 25354 | // Must force callback to be called on nextTick, so that we don't |
| 25355 | // emit 'drain' before the write() consumer gets the 'false' return |
no test coverage detected