Skip to content

Commit

Permalink
doc: add transform stream destroy() return value
Browse files Browse the repository at this point in the history
PR-URL: #32788
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
cjihrig authored and targos committed Apr 28, 2020
1 parent c4da682 commit 873d4aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/stream.md
Expand Up @@ -1470,6 +1470,7 @@ added: v8.0.0
-->

* `error` {Error}
* Returns: {this}

Destroy the stream, and optionally emit an `'error'` event. After this call, the
transform stream would release any internal resources.
Expand Down

0 comments on commit 873d4aa

Please sign in to comment.