(e3, t3)
| 4674 | const e4 = this._callbacks.shift(); |
| 4675 | e4 && e4(); |
| 4676 | } |
| 4677 | this._pendingData = 0, this._bufferOffset = 2147483647, this._isSyncWriting = false, this._syncCalls = 0; |
| 4678 | } |
| 4679 | write(e3, t3) { |
| 4680 | if (this._pendingData > 5e7) throw new Error("write data discarded, use flow control to avoid losing data"); |
| 4681 | if (!this._writeBuffer.length) { |
| 4682 | if (this._bufferOffset = 0, this._didUserInput) return this._didUserInput = false, this._pendingData += e3.length, this._writeBuffer.push(e3), this._callbacks.push(t3), void this._innerWrite(); |
| 4683 | setTimeout((() => this._innerWrite())); |
| 4684 | } |
| 4685 | this._pendingData += e3.length, this._writeBuffer.push(e3), this._callbacks.push(t3); |
| 4686 | } |
nothing calls this directly
no test coverage detected