doc: add transform stream destroy() return value

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
cjihrig authored and Michaël Zasso committed 2020-04-28 16:19:44 +02:00
1 parent c4da682437
commit 873d4aaaa2
1 file changed
+1
+1
View File
@@ -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.