Skip to content

Commit

Permalink
doc: remove redundant only from doc/api/stream.md
Browse files Browse the repository at this point in the history
PR-URL: #14858
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
GeorgeSapkin authored and tniessen committed Aug 20, 2017
1 parent 467385a commit 4cff2cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ resource.
[`writable._write()`][stream-_write].

*Note*: This function MUST NOT be called by application code directly. It
should be implemented by child classes, and called only by the internal Writable
should be implemented by child classes, and called by the internal Writable
class methods only.

The `callback` method must be called to signal either that the write completed
Expand Down Expand Up @@ -1418,7 +1418,7 @@ user programs.
argument) to be invoked when processing is complete for the supplied chunks.

*Note*: This function MUST NOT be called by application code directly. It
should be implemented by child classes, and called only by the internal Writable
should be implemented by child classes, and called by the internal Writable
class methods only.

The `writable._writev()` method may be implemented in addition to
Expand Down Expand Up @@ -1573,7 +1573,7 @@ const myReadable = new Readable({
* `size` {number} Number of bytes to read asynchronously

*Note*: This function MUST NOT be called by application code directly. It
should be implemented by child classes, and called only by the internal Readable
should be implemented by child classes, and called by the internal Readable
class methods only.

All Readable stream implementations must provide an implementation of the
Expand Down Expand Up @@ -1974,7 +1974,7 @@ after all data has been output, which occurs after the callback in
argument and data) to be called when remaining data has been flushed.

*Note*: This function MUST NOT be called by application code directly. It
should be implemented by child classes, and called only by the internal Readable
should be implemented by child classes, and called by the internal Readable
class methods only.

In some cases, a transform operation may need to emit an additional bit of
Expand Down Expand Up @@ -2009,7 +2009,7 @@ user programs.
processed.

*Note*: This function MUST NOT be called by application code directly. It
should be implemented by child classes, and called only by the internal Readable
should be implemented by child classes, and called by the internal Readable
class methods only.

All Transform stream implementations must provide a `_transform()`
Expand Down

0 comments on commit 4cff2cc

Please sign in to comment.