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: document stream.isDestroyed() · nodejs/node@72ee03b

File tree

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

‎doc/api/stream.md‎

Copy file name to clipboardExpand all lines: doc/api/stream.md
+13Lines changed: 13 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3110,6 +3110,19 @@ console.log(res); // prints 'HELLOWORLD'
31103110
For convenience, the [`readable.compose(stream)`][] method is available on
31113111
{Readable} and {Duplex} streams as a wrapper for this function.
31123112

3113+
### `stream.isDestroyed(stream)`
3114+
3115+
<!-- YAML
3116+
added:
3117+
- v19.9.0
3118+
- v18.17.0
3119+
-->
3120+
3121+
* `stream` {Readable|Writable|Duplex}
3122+
* Returns: {boolean|null} - Only returns `null` if `stream` is not a valid `Readable`, `Writable` or `Duplex`.
3123+
3124+
Returns whether the stream has been destroyed.
3125+
31133126
### `stream.isErrored(stream)`
31143127

31153128
<!-- YAML

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.