Skip to content

Commit

Permalink
docs: add reference to app.getAppMetrics() in serviceName for `ut…
Browse files Browse the repository at this point in the history
…ilityProcess` (electron#40338)
  • Loading branch information
miniak authored Oct 30, 2023
1 parent 652f995 commit dd68581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/api/utility-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Process: [Main](../glossary.md#main-process)<br />
* `ignore`: equivalent to \['ignore', 'ignore', 'ignore']
* `inherit`: equivalent to \['ignore', 'inherit', 'inherit']
* `serviceName` string (optional) - Name of the process that will appear in `name` property of
[`child-process-gone` event of `app`](app.md#event-child-process-gone).
[`ProcessMetric`](structures/process-metric.md) returned by [`app.getAppMetrics`](app.md#appgetappmetrics)
and [`child-process-gone` event of `app`](app.md#event-child-process-gone).
Default is `Node Utility Process`.
* `allowLoadingUnsignedLibraries` boolean (optional) _macOS_ - With this flag, the utility process will be
launched via the `Electron Helper (Plugin).app` helper executable on macOS, which can be
Expand Down

0 comments on commit dd68581

Please sign in to comment.