From 86ac7497e01008c4802f928d8e3c556664d6f70f Mon Sep 17 00:00:00 2001 From: Gil Pedersen Date: Thu, 24 Sep 2020 12:27:06 +0200 Subject: [PATCH] doc: add history entry for breaking destroy() change Refs: https://github.com/nodejs/node/pull/29197#issuecomment-698252186 PR-URL: https://github.com/nodejs/node/pull/35326 Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott --- doc/api/stream.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/api/stream.md b/doc/api/stream.md index 5a2dc7b65afbfa..e3a3b7c3890015 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -379,6 +379,10 @@ See also: [`writable.uncork()`][], [`writable._writev()`][stream-_writev]. ##### `writable.destroy([error])` * `error` {Error} Optional, an error to emit with `'error'` event. @@ -961,6 +965,10 @@ called and `readableFlowing` is not `true`. ##### `readable.destroy([error])` * `error` {Error} Error which will be passed as payload in `'error'` event @@ -1525,6 +1533,10 @@ Examples of `Transform` streams include: ##### `transform.destroy([error])` * `error` {Error}