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 BethGriggs committed Apr 14, 2020
1 parent e883059 commit 3c8dd6d
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 @@ -1488,6 +1488,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 3c8dd6d

Please sign in to comment.