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