@@ -1667,8 +1667,8 @@ const myWritable = new Writable({
16671667The ` stream.Writable ` class is extended to implement a [ ` Writable ` ] [ ] stream.
16681668
16691669Custom ` Writable ` streams * must* call the ` new stream.Writable([options]) `
1670- constructor and implement the ` writable._write() ` method. The
1671- ` writable._writev() ` method * may * also be implemented .
1670+ constructor and implement the ` writable._write() ` and/or ` writable._writev() `
1671+ method.
16721672
16731673#### Constructor: new stream.Writable([ options] )
16741674<!-- YAML
@@ -1770,7 +1770,8 @@ const myWritable = new Writable({
17701770 argument) when processing is complete for the supplied chunk.
17711771
17721772All ` Writable ` stream implementations must provide a
1773- [ ` writable._write() ` ] [ stream-_write ] method to send data to the underlying
1773+ [ ` writable._write() ` ] [ stream-_write ] and/or
1774+ [ ` writable._writev() ` ] [ stream-_writev ] method to send data to the underlying
17741775resource.
17751776
17761777[ ` Transform ` ] [ ] streams provide their own implementation of the
@@ -1813,8 +1814,8 @@ This function MUST NOT be called by application code directly. It should be
18131814implemented by child classes, and called by the internal ` Writable ` class
18141815methods only.
18151816
1816- The ` writable._writev() ` method may be implemented in addition to
1817- ` writable._write() ` in stream implementations that are capable of processing
1817+ The ` writable._writev() ` method may be implemented in addition or alternatively
1818+ to ` writable._write() ` in stream implementations that are capable of processing
18181819multiple chunks of data at once. If implemented, the method will be called with
18191820all chunks of data currently buffered in the write queue.
18201821
0 commit comments