summaryrefslogtreecommitdiff
path: root/doc/onboarding-extras.md
diff options
context:
space:
mode:
authorMatteo Collina <hello@matteocollina.com>2017-01-05 11:28:46 +0100
committerMatteo Collina <hello@matteocollina.com>2017-01-11 17:28:09 +0100
commite9044c83a9b997bde60432cd056d36e3a7d8d1e3 (patch)
treeab0e920ff8dcf495121a323ad7b40e5564d5c526 /doc/onboarding-extras.md
parent6509d747ee9c9276d432d80d6e1c081363136432 (diff)
downloadandroid-node-v8-e9044c83a9b997bde60432cd056d36e3a7d8d1e3.tar.gz
android-node-v8-e9044c83a9b997bde60432cd056d36e3a7d8d1e3.tar.bz2
android-node-v8-e9044c83a9b997bde60432cd056d36e3a7d8d1e3.zip
doc: handle backpressure when write() return false
The doc specified that writable.write() was advisory only. However, ignoring that value might lead to memory leaks. This PR specifies that behavior. Moreover, it adds an example on how to listen for the 'drain' event correctly. See: https://github.com/nodejs/node/commit/f347dad0b7b1787092cca88789b77eb3def2d319 PR-URL: https://github.com/nodejs/node/pull/10631 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc/onboarding-extras.md')
0 files changed, 0 insertions, 0 deletions