mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
stream: fix signature of _write() in a comment
This comment was a bit misleading, since it was missing the `encoding` argument. PR-URL: https://github.com/nodejs/node/pull/3248 Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
This commit is contained in:
1 parent
e69c869399
commit
117fb47a16
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
||||
// A bit simpler than readable streams.
|
||||
// Implement an async ._write(chunk, cb), and it'll handle all
|
||||
// Implement an async ._write(chunk, encoding, cb), and it'll handle all
|
||||
// the drain event emission and buffering.
|
||||
|
||||
'use strict';
|
||||
|
||||
Reference in new issue
Block a user