diff options
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r-- | doc/api/stream.md | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md index dc74df7720..741f105464 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -441,10 +441,18 @@ See also: [`writable.cork()`][]. <!-- YAML added: v9.3.0 --> - Return the value of `highWaterMark` passed when constructing this `Writable`. +##### writable.writableLength +<!-- YAML +added: REPLACEME +--> + +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.write(chunk[, encoding][, callback]) <!-- YAML added: v0.9.4 @@ -945,6 +953,15 @@ event will also be emitted. *Note*: Calling [`stream.read([size])`][stream-read] after the [`'end'`][] event has been emitted will return `null`. No runtime error will be raised. +##### readable.readableLength +<!-- YAML +added: REPLACEME +--> + +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.resume() <!-- YAML added: v0.9.4 |