Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: Fix grammar in Transform API text
Browse files Browse the repository at this point in the history
The third sentence of the fifth paragraph of the documentation for
transform._transform() has several words omitted and makes no
sense. This fix fills in the missing words to clarify the passage.

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #25371
  • Loading branch information
chrisneave authored and jasnell committed Jun 5, 2015
1 parent 8c262dd commit 8140d10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/stream.markdown
Expand Up @@ -1175,9 +1175,9 @@ as a result of this chunk.

Call the callback function only when the current chunk is completely
consumed. Note that there may or may not be output as a result of any
particular input chunk. If you supply as the second argument to the
it will be passed to push method, in other words the following are
equivalent:
particular input chunk. If you supply a data chunk as the second argument
to the callback function it will be passed to push method, in other words
the following are equivalent:

```javascript
transform.prototype._transform = function (data, encoding, callback) {
Expand Down

0 comments on commit 8140d10

Please sign in to comment.