()
| 24103 | |
| 24104 | // the no-half-open enforcer |
| 24105 | function onend() { |
| 24106 | // if we allow half-open state, or if the writable side ended, |
| 24107 | // then we're ok. |
| 24108 | if (this.allowHalfOpen || this._writableState.ended) return; |
| 24109 | |
| 24110 | // no more data can be written. |
| 24111 | // But allow more writes to happen in this tick. |
| 24112 | processNextTick(onEndNT, this); |
| 24113 | } |
| 24114 | |
| 24115 | function onEndNT(self) { |
| 24116 | self.end(); |
nothing calls this directly
no outgoing calls
no test coverage detected