diff --git a/doc/api/stream.md b/doc/api/stream.md index 97e848f56fa1fa..8a69c5835bec76 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}