diff options
author | Raynos <raynos2@gmail.com> | 2013-05-21 15:10:34 -0600 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-02-18 10:29:04 -0800 |
commit | abbde2fafab5d722e156aa6fadd343e671446ace (patch) | |
tree | f72deabae8b0113dd1659982356a354e6d81cedf /doc | |
parent | 562b015170c4c0bf442d49d46332fb3918173306 (diff) | |
download | android-node-v8-abbde2fafab5d722e156aa6fadd343e671446ace.tar.gz android-node-v8-abbde2fafab5d722e156aa6fadd343e671446ace.tar.bz2 android-node-v8-abbde2fafab5d722e156aa6fadd343e671446ace.zip |
doc: mention objectMode for Writable streams
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/stream.markdown | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index 5826c71afd..be3aacfebe 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -961,6 +961,9 @@ how to implement Writable streams in your programs. returning false. Default=16kb * `decodeStrings` {Boolean} Whether or not to decode strings into Buffers before passing them to [`_write()`][]. Default=true + * `objectMode` {Boolean} Whether or not the `write(anyObj)` is + a valid operation. If set you can write arbitrary data instead + of only `Buffer` / `String` data. Default=false In classes that extend the Writable class, make sure to call the constructor so that the buffering settings can be properly |