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 BridgeAR committed Apr 28, 2020
1 parent 8fb7852 commit ae034c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,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 ae034c4

Please sign in to comment.