File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 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
277277The ` 'error' ` event is emitted if an error occurred while writing or piping
278278data. The listener callback is passed a single ` Error ` argument when called.
279279
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.
281283
282284##### Event: 'finish'
283285<!-- YAML
@@ -2731,4 +2733,5 @@ contain multi-byte characters.
27312733[ stream-write ] : #stream_writable_write_chunk_encoding_callback
27322734[ writable-_destroy ] : #stream_writable_destroy_err_callback
27332735[ writable-destroy ] : #stream_writable_destroy_error
2736+ [ writable-new ] : #stream_constructor_new_stream_writable_options
27342737[ zlib ] : zlib.html
You can’t perform that action at this time.
0 commit comments