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 authored and Rod Vagg committed 2015-08-26 21:18:56 +10:00
1 parent f6d3b87a25
commit 52018e73d9
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'