Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-04-11 22:18:43 +0300
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2020-04-14 13:04:55 +0300
commit3c8dd6d0c3bff2e497bb3567c90027e525681e0a (patch)
treeeb5451b669d71172c22ec940fbacc71f392da2fb /doc/api
parente883059c240deb33334c5f110b772650cf88b7da (diff)
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>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/stream.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 9a722ca8ad2..555372a7739 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -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.