From 7fcbeb4e7e63a11bf9de91ccf54a7d745b73c9d1 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 97e848f56fa..8a69c5835be 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -386,6 +386,10 @@ See also: [`writable.uncork()`][], [`writable._writev()`][stream-_writev]. ##### `writable.destroy([error])` * `error` {Error} Optional, an error to emit with `'error'` event. @@ -968,6 +972,10 @@ called and `readableFlowing` is not `true`. ##### `readable.destroy([error])` * `error` {Error} Error which will be passed as payload in `'error'` event @@ -1531,6 +1539,10 @@ Examples of `Transform` streams include: ##### `transform.destroy([error])` * `error` {Error}