Skip to content

Commit

Permalink
doc: explicitly document highWaterMark option
Browse files Browse the repository at this point in the history
PR-URL: #17049
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
eps1lon authored and gibfahn committed Dec 20, 2017
1 parent e3d0e03 commit 9e28f6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ changes:
* `autoClose` {boolean}
* `start` {integer}
* `end` {integer}
* `highWaterMark` {integer}

Returns a new [`ReadStream`][] object. (See [Readable Stream][]).

Expand All @@ -880,7 +881,8 @@ const defaults = {
encoding: null,
fd: null,
mode: 0o666,
autoClose: true
autoClose: true,
highWaterMark: 64 * 1024
};
```

Expand Down

0 comments on commit 9e28f6f

Please sign in to comment.