summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnto Aravinth <anto.aravinth.cse@gmail.com>2019-05-19 17:24:07 +0530
committerAnna Henningsen <anna@addaleax.net>2019-05-19 23:37:51 +0200
commitb4735ecebb390f467bba5b2d467f27f88dbbf09e (patch)
tree89f303d7efe1f14cf3857c735b552a7778d130ef /doc
parentbe26f6e9d5e8f39048549fa4f18eef49adff3e55 (diff)
downloadandroid-node-v8-b4735ecebb390f467bba5b2d467f27f88dbbf09e.tar.gz
android-node-v8-b4735ecebb390f467bba5b2d467f27f88dbbf09e.tar.bz2
android-node-v8-b4735ecebb390f467bba5b2d467f27f88dbbf09e.zip
stream: use readableObjectMode public api for js stream
PR-URL: https://github.com/nodejs/node/pull/27655 Refs: https://github.com/nodejs/node/issues/445 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/stream.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 1e700e6f08..79623662e4 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -502,6 +502,13 @@ This property contains the number of bytes (or objects) in the queue
ready to be written. The value provides introspection data regarding
the status of the `highWaterMark`.
+##### writable.writableObjectMode
+<!-- YAML
+added: REPLACEME
+-->
+
+Getter for the property `objectMode` of a given `Writable` stream.
+
##### writable.write(chunk[, encoding][, callback])
<!-- YAML
added: v0.9.4
@@ -1089,6 +1096,13 @@ This property contains the number of bytes (or objects) in the queue
ready to be read. The value provides introspection data regarding
the status of the `highWaterMark`.
+##### readable.readableObjectMode
+<!-- YAML
+added: REPLACEME
+-->
+
+Getter for the property `objectMode` of a given `Readable` stream.
+
##### readable.resume()
<!-- YAML
added: v0.9.4