@@ -1720,9 +1720,9 @@ By default, the stream will not emit a `'close'` event after it has been
17201720destroyed. This is the opposite of the default for other ` Readable ` streams.
17211721Set the ` emitClose ` option to ` true ` to change this behavior.
17221722
1723- By providing the ` fs ` option it is possible to override the corresponding ` fs `
1724- implementations for ` open ` , ` read ` and ` close ` . When providing the ` fs ` option,
1725- you must override ` open ` , ` close ` and ` read ` .
1723+ By providing the ` fs ` option, it is possible to override the corresponding ` fs `
1724+ implementations for ` open ` , ` read ` , and ` close ` . When providing the ` fs ` option,
1725+ overrides for ` open ` , ` read ` , and ` close ` are required .
17261726
17271727``` js
17281728const fs = require (' fs' );
@@ -1816,8 +1816,8 @@ Set the `emitClose` option to `true` to change this behavior.
18161816By providing the ` fs ` option it is possible to override the corresponding ` fs `
18171817implementations for ` open ` , ` write ` , ` writev ` and ` close ` . Overriding ` write() `
18181818without ` writev() ` can reduce performance as some optimizations (` _writev() ` )
1819- will be disabled. When providing the ` fs ` option, you must override ` open ` ,
1820- ` close ` and at least one of ` write ` and ` writev ` .
1819+ will be disabled. When providing the ` fs ` option, overrides for ` open ` ,
1820+ ` close ` , and at least one of ` write ` and ` writev ` are required .
18211821
18221822Like [ ` ReadStream ` ] [ ] , if ` fd ` is specified, [ ` WriteStream ` ] [ ] will ignore the
18231823` path ` argument and will use the specified file descriptor. This means that no
@@ -4237,8 +4237,8 @@ in that they provide an object oriented API for working with files.
42374237If a ` FileHandle ` is not closed using the
42384238` filehandle.close() ` method, it might automatically close the file descriptor
42394239and will emit a process warning, thereby helping to prevent memory leaks.
4240- Please do not rely on this behavior in your code because it is unreliable and
4241- your file may not be closed. Instead, always explicitly close ` FileHandle ` s.
4240+ Please do not rely on this behavior because it is unreliable and
4241+ the file may not be closed. Instead, always explicitly close ` FileHandle ` s.
42424242Node.js may change this behavior in the future.
42434243
42444244Instances of the ` FileHandle ` object are created internally by the
0 commit comments