Browse Source

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>
v5.x
Fábio Santos 9 years ago
committed by Brendan Ashworth
parent
commit
85b74de9de
  1. 2
      lib/_stream_writable.js

2
lib/_stream_writable.js

@ -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';

Loading…
Cancel
Save