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:
James M Snell committed 2015-08-25 18:51:53 -07:00
1 parent 5299a743d5
commit db4cb338be
1 file changed
+5 -2
+5 -2
View File
@@ -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'