@@ -1710,9 +1710,9 @@ By default, the stream will not emit a `'close'` event after it has been
17101710destroyed. This is the opposite of the default for other ` Readable ` streams.
17111711Set the ` emitClose ` option to ` true ` to change this behavior.
17121712
1713- By providing the ` fs ` option it is possible to override the corresponding ` fs `
1714- implementations for ` open ` , ` read ` and ` close ` . When providing the ` fs ` option,
1715- you must override ` open ` , ` close ` and ` read ` .
1713+ By providing the ` fs ` option, it is possible to override the corresponding ` fs `
1714+ implementations for ` open ` , ` read ` , and ` close ` . When providing the ` fs ` option,
1715+ overrides for ` open ` , ` read ` , and ` close ` are required .
17161716
17171717``` js
17181718const fs = require (' fs' );
@@ -1805,8 +1805,8 @@ Set the `emitClose` option to `true` to change this behavior.
18051805By providing the ` fs ` option it is possible to override the corresponding ` fs `
18061806implementations for ` open ` , ` write ` , ` writev ` and ` close ` . Overriding ` write() `
18071807without ` writev() ` can reduce performance as some optimizations (` _writev() ` )
1808- will be disabled. When providing the ` fs ` option, you must override ` open ` ,
1809- ` close ` and at least one of ` write ` and ` writev ` .
1808+ will be disabled. When providing the ` fs ` option, overrides for ` open ` ,
1809+ ` close ` , and at least one of ` write ` and ` writev ` are required .
18101810
18111811Like [ ` ReadStream ` ] [ ] , if ` fd ` is specified, [ ` WriteStream ` ] [ ] will ignore the
18121812` path ` argument and will use the specified file descriptor. This means that no
@@ -4256,8 +4256,8 @@ in that they provide an object oriented API for working with files.
42564256If a ` FileHandle ` is not closed using the
42574257` filehandle.close() ` method, it might automatically close the file descriptor
42584258and will emit a process warning, thereby helping to prevent memory leaks.
4259- Please do not rely on this behavior in your code because it is unreliable and
4260- your file may not be closed. Instead, always explicitly close ` FileHandle ` s.
4259+ Please do not rely on this behavior because it is unreliable and
4260+ the file may not be closed. Instead, always explicitly close ` FileHandle ` s.
42614261Node.js may change this behavior in the future.
42624262
42634263Instances of the ` FileHandle ` object are created internally by the
0 commit comments