GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarification on the 'close' event · nodejs/node@52018e7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • stream.markdown
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/stream.markdown‎

Copy file name to clipboardExpand all lines: doc/api/stream.markdown
+5-2Lines changed: 5 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,11 @@ readable.on('end', function() {
230230

231231
#### Event: 'close'
232232

233-
Emitted when the underlying resource (for example, the backing file
234-
descriptor) has been closed. Not all streams will emit this.
233+
Emitted when the stream and any of its underlying resources (a file
234+
descriptor, for example) have been closed, no more events will be
235+
emitted, and no further computation will occur.
236+
237+
Not all streams will emit the 'close' event.
235238

236239
#### Event: 'error'
237240

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.