File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,9 @@ added: v0.9.4
277
277
The ` 'error' ` event is emitted if an error occurred while writing or piping
278
278
data. The listener callback is passed a single ` Error ` argument when called.
279
279
280
- The stream is not closed when the ` 'error' ` event is emitted.
280
+ The stream is not closed when the ` 'error' ` event is emitted unless the
281
+ [ ` autoDestroy ` ] [ writable-new ] option was set to ` true ` when creating the
282
+ stream.
281
283
282
284
##### Event: 'finish'
283
285
<!-- YAML
@@ -2734,4 +2736,5 @@ contain multi-byte characters.
2734
2736
[ stream-write ] : #stream_writable_write_chunk_encoding_callback
2735
2737
[ writable-_destroy ] : #stream_writable_destroy_err_callback
2736
2738
[ writable-destroy ] : #stream_writable_destroy_error
2739
+ [ writable-new ] : #stream_constructor_new_stream_writable_options
2737
2740
[ zlib ] : zlib.html
You can’t perform that action at this time.
0 commit comments