File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1215,19 +1215,19 @@ as a result of this chunk.
1215
1215
1216
1216
Call the callback function only when the current chunk is completely
1217
1217
consumed. Note that there may or may not be output as a result of any
1218
- particular input chunk. If you supply output as the second argument to the
1219
- callback, it will be passed to push method, in other words the following are
1218
+ particular input chunk. If you supply a second argument to the callback
1219
+ it will be passed to the push method. In other words the following are
1220
1220
equivalent:
1221
1221
1222
1222
``` javascript
1223
1223
transform .prototype ._transform = function (data , encoding , callback ) {
1224
1224
this .push (data);
1225
1225
callback ();
1226
- }
1226
+ };
1227
1227
1228
1228
transform .prototype ._transform = function (data , encoding , callback ) {
1229
1229
callback (null , data);
1230
- }
1230
+ };
1231
1231
```
1232
1232
1233
1233
This method is prefixed with an underscore because it is internal to
You can’t perform that action at this time.
0 commit comments