You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/stream.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1732,7 +1732,7 @@ on the type of stream being created, as detailed in the chart below:
1732
1732
| Reading only |[`Readable`][]|[`_read()`][stream-_read]|
1733
1733
| Writing only |[`Writable`][]|[`_write()`][stream-_write], [`_writev()`][stream-_writev], [`_final()`][stream-_final]|
1734
1734
| Reading and writing |[`Duplex`][]|[`_read()`][stream-_read], [`_write()`][stream-_write], [`_writev()`][stream-_writev], [`_final()`][stream-_final]|
1735
-
| Operate on written data, then read the result |[`Transform`][]|[`_transform()`][stream-_transform], [`_flush()`][stream-_flush], [`_final()`][stream-_final]|
1735
+
| Operate on written data, then read the result |[`Transform`][]|[`_transform()`][], [`_flush()`][stream-_flush], [`_final()`][stream-_final]|
1736
1736
1737
1737
The implementation code for a stream should *never* call the "public" methods
1738
1738
of a stream that are intended for use by consumers (as described in the
@@ -2473,7 +2473,7 @@ The `stream.Transform` class is extended to implement a [`Transform`][] stream.
2473
2473
The `stream.Transform` class prototypically inherits from `stream.Duplex` and
2474
2474
implements its own versions of the `writable._write()` and `readable._read()`
2475
2475
methods. Custom `Transform` implementations *must* implement the
2476
-
[`transform._transform()`][stream-_transform] method and *may* also implement
2476
+
[`transform._transform()`][] method and *may* also implement
2477
2477
the [`transform._flush()`][stream-_flush] method.
2478
2478
2479
2479
Care must be taken when using `Transform` streams in that data written to the
@@ -2485,7 +2485,7 @@ output on the `Readable` side is not consumed.
2485
2485
*`options` {Object} Passed to both `Writable` and `Readable`
0 commit comments