Skip to content

Commit 31e4f2b

Browse files
committed
doc: fix the description of 'close' event
PR-URL: #15800 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 421365d commit 31e4f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/fs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ added: v0.1.93
182182

183183
* `fd` {integer} Integer file descriptor used by the ReadStream.
184184

185-
Emitted when the ReadStream's file is opened.
185+
Emitted when the `ReadStream`'s underlying file descriptor has been closed.
186186

187187
### readStream.bytesRead
188188
<!-- YAML
@@ -296,7 +296,7 @@ added: v0.1.93
296296

297297
* `fd` {integer} Integer file descriptor used by the WriteStream.
298298

299-
Emitted when the WriteStream's file is opened.
299+
Emitted when the `WriteStream`'s underlying file descriptor has been closed.
300300

301301
### writeStream.bytesWritten
302302
<!-- YAML

0 commit comments

Comments
 (0)