diff --git a/doc/api/stream.md b/doc/api/stream.md index f5be715cf1cd93..66436eff9cb6d4 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -456,6 +456,16 @@ further errors except from `_destroy()` may be emitted as `'error'`. Implementors should not override this method, but instead implement [`writable._destroy()`][writable-_destroy]. +##### `writable.closed` + + + +* {boolean} + +Is `true` after `'close'` has been emitted. + ##### `writable.destroyed` + +* {Error} + +Returns error if the stream has been destroyed with an error. + ##### `writable.writableFinished` + +* {boolean} + Is `true` after [`readable.destroy()`][readable-destroy] has been called. ##### `readable.isPaused()` @@ -1346,6 +1377,17 @@ added: v12.9.0 Becomes `true` when [`'end'`][] event is emitted. +##### `readable.readableErrored` + + + +* {Error} + +Returns error if the stream has been destroyed with an error. + ##### `readable.readableFlowing`