mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: clarification on the 'close' event
per: https://github.com/joyent/node/pull/8209 originally submitted by @jeromew Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> PR-URL: https://github.com/nodejs/node/pull/2378
This commit is contained in:
1 parent
5299a743d5
commit
db4cb338be
1 file changed
+5
-2
@@ -230,8 +230,11 @@ readable.on('end', function() {
|
||||
|
||||
#### Event: 'close'
|
||||
|
||||
Emitted when the underlying resource (for example, the backing file
|
||||
descriptor) has been closed. Not all streams will emit this.
|
||||
Emitted when the stream and any of its underlying resources (a file
|
||||
descriptor, for example) have been closed, no more events will be
|
||||
emitted, and no further computation will occur.
|
||||
|
||||
Not all streams will emit the 'close' event.
|
||||
|
||||
#### Event: 'error'
|
||||
|
||||
|
||||
Reference in new issue
Block a user