From dd68581d30fa710f1c48ad12730b3db2cfb5d19b Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Mon, 30 Oct 2023 10:07:23 -0400 Subject: [PATCH] docs: add reference to `app.getAppMetrics()` in `serviceName` for `utilityProcess` (#40338) --- docs/api/utility-process.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api/utility-process.md b/docs/api/utility-process.md index f5e2542a21a4..7c19dd1be988 100644 --- a/docs/api/utility-process.md +++ b/docs/api/utility-process.md @@ -28,7 +28,8 @@ Process: [Main](../glossary.md#main-process)
* `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