From ae034c4ab21ebbb57d760409a4d5efd5aeb3f3d7 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sat, 11 Apr 2020 15:18:43 -0400 Subject: [PATCH] doc: add transform stream destroy() return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/32788 Reviewed-By: Gerhard Stöbich Reviewed-By: Luigi Pinca Reviewed-By: Robert Nagy Reviewed-By: Zeyu Yang Reviewed-By: Anna Henningsen --- doc/api/stream.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/stream.md b/doc/api/stream.md index 657adfb751f893..53e0994d10b720 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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.