Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

doc: mention objectMode for Writable streams

  • Loading branch information...
commit abbde2fafab5d722e156aa6fadd343e671446ace 1 parent 562b015
@Raynos Raynos authored tjfontaine committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  doc/api/stream.markdown
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.