@@ -858,6 +858,7 @@ implement Readable streams in your programs.
858
858
* ` objectMode ` {Boolean} Whether this stream should behave
859
859
as a stream of objects. Meaning that stream.read(n) returns
860
860
a single value instead of a Buffer of size n. Default=false
861
+ * ` read ` {Function} Implementation for the [ ` _read() ` ] [ ] method.
861
862
862
863
In classes that extend the Readable class, make sure to call the
863
864
Readable constructor so that the buffering settings can be properly
@@ -1111,7 +1112,9 @@ also implement the `_flush()` method. (See below.)
1111
1112
#### new stream.Transform([ options] )
1112
1113
1113
1114
* ` options ` {Object} Passed to both Writable and Readable
1114
- constructors.
1115
+ constructors. Also has the following fields:
1116
+ * ` transform ` {Function} Implementation for the [ ` _transform() ` ] [ ] method.
1117
+ * ` flush ` {Function} Implementation for the [ ` _flush() ` ] [ ] method.
1115
1118
1116
1119
In classes that extend the Transform class, make sure to call the
1117
1120
constructor so that the buffering settings can be properly
@@ -1300,6 +1303,8 @@ how to implement Writable streams in your programs.
1300
1303
* ` objectMode ` {Boolean} Whether or not the ` write(anyObj) ` is
1301
1304
a valid operation. If set you can write arbitrary data instead
1302
1305
of only ` Buffer ` / ` String ` data. Default=false
1306
+ * ` write ` {Function} Implementation for the [ ` _write() ` ] [ ] method.
1307
+ * ` writev ` {Function} Implementation for the [ ` _writev() ` ] [ ] method.
1303
1308
1304
1309
In classes that extend the Writable class, make sure to call the
1305
1310
constructor so that the buffering settings can be properly
0 commit comments