Browse Source

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
v4.0.0-rc
James M Snell 10 years ago
parent
commit
db4cb338be
  1. 7
      doc/api/stream.markdown

7
doc/api/stream.markdown

@ -230,8 +230,11 @@ readable.on('end', function() {
#### Event: 'close' #### Event: 'close'
Emitted when the underlying resource (for example, the backing file Emitted when the stream and any of its underlying resources (a file
descriptor) has been closed. Not all streams will emit this. 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' #### Event: 'error'

Loading…
Cancel
Save