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 @@ -372,7 +372,7 @@ added: v8.0.0
372
372
* Returns: {this}
373
373
374
374
Destroy the stream. Optionally emit an ` 'error' ` event, and emit a ` 'close' `
375
- event unless ` emitClose ` is set in ` false ` . After this call, the writable
375
+ event ( unless ` emitClose ` is set to ` false ` ) . After this call, the writable
376
376
stream has ended and subsequent calls to ` write() ` or ` end() ` will result in
377
377
an ` ERR_STREAM_DESTROYED ` error.
378
378
This is a destructive and immediate way to destroy a stream. Previous calls to
@@ -932,7 +932,7 @@ added: v8.0.0
932
932
* Returns: {this}
933
933
934
934
Destroy the stream. Optionally emit an ` 'error' ` event, and emit a ` 'close' `
935
- event unless ` emitClose ` is set in ` false ` . After this call, the readable
935
+ event ( unless ` emitClose ` is set to ` false ` ) . After this call, the readable
936
936
stream will release any internal resources and subsequent calls to ` push() `
937
937
will be ignored.
938
938
Implementors should not override this method, but instead implement
You can’t perform that action at this time.
0 commit comments