Browse files

doc: mention objectMode for Writable streams

  • Loading branch information...
1 parent 562b015 commit abbde2fafab5d722e156aa6fadd343e671446ace @Raynos Raynos committed with tjfontaine May 21, 2013
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

0 comments on commit abbde2f

Please sign in to comment.