Skip to content

Commit 3968698

Browse files
debadree25juanarbol
authored andcommittedJan 31, 2023
doc: abort controller emits error in child process
Fixes: #46036 PR-URL: #46072 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 1ec14c2 commit 3968698

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎doc/api/child_process.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1186,9 +1186,10 @@ property is `false`.
11861186

11871187
The `'error'` event is emitted whenever:
11881188

1189-
1. The process could not be spawned, or
1190-
2. The process could not be killed, or
1191-
3. Sending a message to the child process failed.
1189+
* The process could not be spawned.
1190+
* The process could not be killed.
1191+
* Sending a message to the child process failed.
1192+
* The child process was aborted via the `signal` option.
11921193

11931194
The `'exit'` event may or may not fire after an error has occurred. When
11941195
listening to both the `'exit'` and `'error'` events, guard

0 commit comments

Comments
 (0)
Please sign in to comment.