override _write(chunk: Buffer, _encoding: BufferEncoding, callback: (error?: Error | null) => void): void {
// Respect backpressure: defer completion until the socket has drained its
// buffer so a fast producer cannot queue unbounded data on a slow managed /
// exec-server transport.
this._socket.drain().then(() => callback(), err => callback(err));
}
override _final(callback: (error?: Error | null) => void): void {