Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3968698

Browse filesBrowse files
debadree25juanarbol
authored andcommitted
doc: abort controller emits error in child process
Fixes: #46036 PR-URL: #46072 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 1ec14c2 commit 3968698
Copy full SHA for 3968698

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.