A Writable stream is created with highWaterMark: 16384. A producer writes 8 KB chunks in a tight loop and never checks the return value of write(). Internally, what determines whether each write() call returns false?
const ws = fs.createWriteStream('out', { highWaterMark: 16384 });
for (let i = 0; i < 100000; i++) {
ws.write(Buffer.alloc(8192)); // return value ignored
}