Skip to content

Commit 88a72d7

Browse files
committed
doc: fix stream.md section order
For some reason, `stream.isErrored` and `stream.isReadable` sections were in between `stream.Readable` static methods sections.
1 parent faada65 commit 88a72d7

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

doc/api/stream.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,6 +3040,40 @@ console.log(res); // prints 'HELLOWORLD'
30403040

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

3043+
### `stream.isErrored(stream)`
3044+
3045+
<!-- YAML
3046+
added:
3047+
- v17.3.0
3048+
- v16.14.0
3049+
changes:
3050+
- version: v24.0.0
3051+
pr-url: https://github.com/nodejs/node/pull/57513
3052+
description: Marking the API stable.
3053+
-->
3054+
3055+
* `stream` {Readable|Writable|Duplex|WritableStream|ReadableStream}
3056+
* Returns: {boolean}
3057+
3058+
Returns whether the stream has encountered an error.
3059+
3060+
### `stream.isReadable(stream)`
3061+
3062+
<!-- YAML
3063+
added:
3064+
- v17.4.0
3065+
- v16.14.0
3066+
changes:
3067+
- version: v24.0.0
3068+
pr-url: https://github.com/nodejs/node/pull/57513
3069+
description: Marking the API stable.
3070+
-->
3071+
3072+
* `stream` {Readable|Duplex|ReadableStream}
3073+
* Returns: {boolean}
3074+
3075+
Returns whether the stream is readable.
3076+
30433077
### `stream.Readable.from(iterable[, options])`
30443078

30453079
<!-- YAML
@@ -3122,40 +3156,6 @@ changes:
31223156

31233157
Returns whether the stream has been read from or cancelled.
31243158

3125-
### `stream.isErrored(stream)`
3126-
3127-
<!-- YAML
3128-
added:
3129-
- v17.3.0
3130-
- v16.14.0
3131-
changes:
3132-
- version: v24.0.0
3133-
pr-url: https://github.com/nodejs/node/pull/57513
3134-
description: Marking the API stable.
3135-
-->
3136-
3137-
* `stream` {Readable|Writable|Duplex|WritableStream|ReadableStream}
3138-
* Returns: {boolean}
3139-
3140-
Returns whether the stream has encountered an error.
3141-
3142-
### `stream.isReadable(stream)`
3143-
3144-
<!-- YAML
3145-
added:
3146-
- v17.4.0
3147-
- v16.14.0
3148-
changes:
3149-
- version: v24.0.0
3150-
pr-url: https://github.com/nodejs/node/pull/57513
3151-
description: Marking the API stable.
3152-
-->
3153-
3154-
* `stream` {Readable|Duplex|ReadableStream}
3155-
* Returns: {boolean}
3156-
3157-
Returns whether the stream is readable.
3158-
31593159
### `stream.Readable.toWeb(streamReadable[, options])`
31603160

31613161
<!-- YAML

0 commit comments

Comments
 (0)