docs: add reference to app.getAppMetrics()
in serviceName
for utilityProcess
(#40338)
This commit is contained in:
parent
652f995128
commit
dd68581d30
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ Process: [Main](../glossary.md#main-process)<br />
|
||||||
* `ignore`: equivalent to \['ignore', 'ignore', 'ignore']
|
* `ignore`: equivalent to \['ignore', 'ignore', 'ignore']
|
||||||
* `inherit`: equivalent to \['ignore', 'inherit', 'inherit']
|
* `inherit`: equivalent to \['ignore', 'inherit', 'inherit']
|
||||||
* `serviceName` string (optional) - Name of the process that will appear in `name` property of
|
* `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`.
|
Default is `Node Utility Process`.
|
||||||
* `allowLoadingUnsignedLibraries` boolean (optional) _macOS_ - With this flag, the utility process will be
|
* `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
|
launched via the `Electron Helper (Plugin).app` helper executable on macOS, which can be
|
||||||
|
|
Loading…
Add table
Reference in a new issue