Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix stream.md section order
For some reason, `stream.isErrored` and `stream.isReadable` sections
were in between `stream.Readable` static methods sections.
  • Loading branch information
aduh95 committed Jun 25, 2025
commit dce162874e1cf93b902cd099d5410e08548a2e74
76 changes: 38 additions & 38 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -3050,6 +3050,44 @@

See [`readable.compose(stream)`][] for `stream.compose` as operator.

### `stream.isErrored(stream)`

<!-- YAML
added:
- v17.3.0
- v16.14.0
changes:
- version:
- v24.0.0
- v22.17.0
pr-url: https://github.com/nodejs/node/pull/57513

Check warning on line 3063 in doc/api/stream.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Marking the API stable.
-->

* `stream` {Readable|Writable|Duplex|WritableStream|ReadableStream}
* Returns: {boolean}

Returns whether the stream has encountered an error.

### `stream.isReadable(stream)`

<!-- YAML
added:
- v17.4.0
- v16.14.0
changes:
- version:
- v24.0.0
- v22.17.0
pr-url: https://github.com/nodejs/node/pull/57513

Check warning on line 3082 in doc/api/stream.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Marking the API stable.
-->

* `stream` {Readable|Duplex|ReadableStream}
* Returns: {boolean}

Returns whether the stream is readable.

### `stream.Readable.from(iterable[, options])`

<!-- YAML
Expand Down Expand Up @@ -3136,44 +3174,6 @@

Returns whether the stream has been read from or cancelled.

### `stream.isErrored(stream)`

<!-- YAML
added:
- v17.3.0
- v16.14.0
changes:
- version:
- v24.0.0
- v22.17.0
pr-url: https://github.com/nodejs/node/pull/57513
description: Marking the API stable.
-->

* `stream` {Readable|Writable|Duplex|WritableStream|ReadableStream}
* Returns: {boolean}

Returns whether the stream has encountered an error.

### `stream.isReadable(stream)`

<!-- YAML
added:
- v17.4.0
- v16.14.0
changes:
- version:
- v24.0.0
- v22.17.0
pr-url: https://github.com/nodejs/node/pull/57513
description: Marking the API stable.
-->

* `stream` {Readable|Duplex|ReadableStream}
* Returns: {boolean}

Returns whether the stream is readable.

### `stream.Readable.toWeb(streamReadable[, options])`

<!-- YAML
Expand Down
Loading