Skip to content

ElectronApp.on('gpu-info-update') method

ElectronApp › on(‘gpu-info-update’)

Unofficial

Registers a listener for the gpu-info-update event.

Emitted whenever there is a GPU info update.

Signature:

on(event: "gpu-info-update", listener: (...args: unknown[]) => void): this

Parameters:

Parameter Type Description
event "gpu-info-update" The event name.
listener (...args: unknown[]) => void The event handler.

Returns: thisThis ElectronApp instance.