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:
parent
81503e597b
commit
85b74de9de
@ -1,5 +1,5 @@
|
|||||||
// A bit simpler than readable streams.
|
// 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.
|
// the drain event emission and buffering.
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user