Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ added:
reached, whichever comes first. **Default:** read until EOF.
* `chunkSize` {number} Size in bytes of the buffer allocated for each
read operation. **Default:** `131072` (128 KB).
* Returns: {AsyncIterable\<Uint8Array\[]>}
* Returns: {AsyncIterable} whose chunks fulfill with {Uint8Array\[]}

Return the file contents as an async iterable using the
[`node:stream/iter`][] pull model. Reads are performed in `chunkSize`-byte
Expand Down Expand Up @@ -475,7 +475,7 @@ added:
iterator. **Default:** read until EOF.
* `chunkSize` {number} Size in bytes of the buffer allocated for each
read operation. **Default:** `131072` (128 KB).
* Returns: {Iterable\<Uint8Array\[]>}
* Returns: {Iterable} whose chunks return {Uint8Array\[]}

Synchronous counterpart of [`filehandle.pull()`][]. Returns a sync iterable
that reads the file using synchronous I/O on the main thread. Reads are
Expand Down Expand Up @@ -9330,7 +9330,7 @@ the file contents.
[`minimatch`]: https://github.com/isaacs/minimatch
[`node:stream/iter`]: stream_iter.md
[`statfs.bsize`]: #statfsbsize
[`stream/iter pipeTo()`]: stream_iter.md#pipetosource-transforms-writer
[`stream/iter pipeTo()`]: stream_iter.md#pipetosource-transforms-writer-options
[`stream/iter pull()`]: stream_iter.md#pullsource-transforms-options
[`stream/iter pullSync()`]: stream_iter.md#pullsyncsource-transforms
[`util.promisify()`]: util.md#utilpromisifyoriginal
Expand Down
Loading
Loading