summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/stream.markdown3
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