mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: explicitly document highWaterMark option
PR-URL: https://github.com/nodejs/node/pull/17049 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
2776816945
commit
2f34d35b0a
1 file changed
+3
-1
+3
-1
@@ -865,6 +865,7 @@ changes:
|
||||
* `autoClose` {boolean}
|
||||
* `start` {integer}
|
||||
* `end` {integer}
|
||||
* `highWaterMark` {integer}
|
||||
|
||||
Returns a new [`ReadStream`][] object. (See [Readable Stream][]).
|
||||
|
||||
@@ -880,7 +881,8 @@ const defaults = {
|
||||
encoding: null,
|
||||
fd: null,
|
||||
mode: 0o666,
|
||||
autoClose: true
|
||||
autoClose: true,
|
||||
highWaterMark: 64 * 1024
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user