diff options
author | Gil Pedersen <github@gpost.dk> | 2013-03-01 23:15:28 +0100 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-03-01 14:23:51 -0800 |
commit | 13c8bc8917a152487110b734680af631dfdae59c (patch) | |
tree | 85a5b63fd0a471e0291ec7207ab7165ab5615af5 /doc | |
parent | 16ddc545bd8004868122520f0cc7560cc63750e8 (diff) | |
download | android-node-v8-13c8bc8917a152487110b734680af631dfdae59c.tar.gz android-node-v8-13c8bc8917a152487110b734680af631dfdae59c.tar.bz2 android-node-v8-13c8bc8917a152487110b734680af631dfdae59c.zip |
doc: Update to reflect new _read() interface
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/stream.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index 1590df5ad5..a30eea3def 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -169,7 +169,8 @@ source.onend = function() { }; // _read will be called when the stream wants to pull more data in -stream._read = function(size, cb) { +// the advisory size argument is ignored in this case. +stream._read = function(n) { source.readStart(); }; ``` |