We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c335b commit 29707afCopy full SHA for 29707af
doc/api/stream.md
@@ -1601,6 +1601,15 @@ The `readable._read()` method is prefixed with an underscore because it is
1601
internal to the class that defines it, and should never be called directly by
1602
user programs.
1603
1604
+#### readable.\_destroy(err, callback)
1605
+<!-- YAML
1606
+added: v8.0.0
1607
+-->
1608
+
1609
+* `err` {Error} An error.
1610
+* `callback` {Function} A callback function that takes an optional error
1611
+ argument which is invoked when the readable is destroyed.
1612
1613
#### readable.push(chunk[, encoding])
1614
<!-- YAML
1615
changes:
0 commit comments