Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: add missing doc for readable._destroy
Fixes: #15291
  • Loading branch information
targos committed Sep 10, 2017
commit 6d9d899650100ddb05fc622da45e5f70229641db
9 changes: 9 additions & 0 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,15 @@ The `readable._read()` method is prefixed with an underscore because it is
internal to the class that defines it, and should never be called directly by
user programs.

#### readable.\_destroy(err, callback)
<!-- YAML
added: v8.0.0
-->

* `err` {Error} An error.
* `callback` {Function} A callback function that takes an optional error
argument which is invoked when the readable is destroyed.

#### readable.push(chunk[, encoding])
<!-- YAML
changes:
Expand Down