ElectronApp.on('gpu-info-update') method
ElectronApp › on(‘gpu-info-update’)
Unofficial
Registers a listener for thegpu-info-update event.Emitted whenever there is a GPU info update.
Signature:
on(event: "gpu-info-update", listener: (...args: unknown[]) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "gpu-info-update" | The event name. |
| listener | (...args: unknown[]) => void | The event handler. |
Returns: this — This ElectronApp instance.