(stream, state, sync, er, cb)
| 25626 | } |
| 25627 | |
| 25628 | function onwriteError(stream, state, sync, er, cb) { |
| 25629 | --state.pendingcb; |
| 25630 | if (sync) processNextTick(cb, er);else cb(er); |
| 25631 | |
| 25632 | stream._writableState.errorEmitted = true; |
| 25633 | stream.emit('error', er); |
| 25634 | } |
| 25635 | |
| 25636 | function onwriteStateUpdate(state) { |
| 25637 | state.writing = false; |