We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897f7b6 commit 45c86e3Copy full SHA for 45c86e3
doc/api/stream.md
@@ -1208,7 +1208,10 @@ print(fs.createReadStream('file')).catch(console.log);
1208
1209
If the loop terminates with a `break` or a `throw`, the stream will be
1210
destroyed. In other terms, iterating over a stream will consume the stream
1211
-fully.
+fully. The stream will be read in chunks of size equal to the `highWaterMark`
1212
+option. In the code example above, data will be in a single chunk if the file
1213
+has less then 64kb of data because no `highWaterMark` option is provided to
1214
+[`fs.createReadStream()`][].
1215
1216
### Duplex and Transform Streams
1217
0 commit comments