()
| 9726 | } |
| 9727 | addListener(ev, ...args) { |
| 9728 | return this.on(ev, ...args); |
| 9729 | } |
| 9730 | off(ev, ...args) { |
| 9731 | const ret = super.off(ev, ...args); |
| 9732 | if (ev === "data" || ev === "readable") { |
| 9733 | this[kReading] = this.listenerCount("data") > 0 || this.listenerCount("readable") > 0; |
| 9734 | } |
| 9735 | return ret; |
no test coverage detected