ElectronApp.getAppMetrics method
ElectronApp › getAppMetrics
Unofficial
Returns memory and CPU usage statistics of all the processes associated with the app.Signature:
getAppMetrics(): ElectronProcessMetric[]Returns: ElectronProcessMetric[] — The array of process metrics.