File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ added: v8.0.0
375
375
* Returns: {this}
376
376
377
377
Destroy the stream. Optionally emit an ` 'error' ` event, and emit a ` 'close' `
378
- event unless ` emitClose ` is set in ` false ` . After this call, the writable
378
+ event ( unless ` emitClose ` is set to ` false ` ) . After this call, the writable
379
379
stream has ended and subsequent calls to ` write() ` or ` end() ` will result in
380
380
an ` ERR_STREAM_DESTROYED ` error.
381
381
This is a destructive and immediate way to destroy a stream. Previous calls to
@@ -935,7 +935,7 @@ added: v8.0.0
935
935
* Returns: {this}
936
936
937
937
Destroy the stream. Optionally emit an ` 'error' ` event, and emit a ` 'close' `
938
- event unless ` emitClose ` is set in ` false ` . After this call, the readable
938
+ event ( unless ` emitClose ` is set to ` false ` ) . After this call, the readable
939
939
stream will release any internal resources and subsequent calls to ` push() `
940
940
will be ignored.
941
941
Implementors should not override this method, but instead implement
You can’t perform that action at this time.
0 commit comments