File tree 1 file changed +12
-0
lines changed 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,10 @@ See also: [`writable.uncork()`][], [`writable._writev()`][stream-_writev].
379
379
##### ` writable.destroy([error]) `
380
380
<!-- YAML
381
381
added: v8.0.0
382
+ changes:
383
+ - version: v14.0.0
384
+ pr-url: https://github.com/nodejs/node/pull/29197
385
+ description: Work as noop when called on an already `destroyed` stream.
382
386
-->
383
387
384
388
* ` error ` {Error} Optional, an error to emit with ` 'error' ` event.
@@ -961,6 +965,10 @@ called and `readableFlowing` is not `true`.
961
965
##### ` readable.destroy([error]) `
962
966
<!-- YAML
963
967
added: v8.0.0
968
+ changes:
969
+ - version: v14.0.0
970
+ pr-url: https://github.com/nodejs/node/pull/29197
971
+ description: Work as noop when called on an already `destroyed` stream.
964
972
-->
965
973
966
974
* ` error ` {Error} Error which will be passed as payload in ` 'error' ` event
@@ -1525,6 +1533,10 @@ Examples of `Transform` streams include:
1525
1533
##### ` transform.destroy([error]) `
1526
1534
<!-- YAML
1527
1535
added: v8.0.0
1536
+ changes:
1537
+ - version: v14.0.0
1538
+ pr-url: https://github.com/nodejs/node/pull/29197
1539
+ description: Work as noop when called on an already `destroyed` stream.
1528
1540
-->
1529
1541
1530
1542
* ` error ` {Error}
You can’t perform that action at this time.
0 commit comments