Skip to content

ElectronPowerMonitor.on('resume') method

ElectronPowerMonitor › on(‘resume’)

Unofficial

Emitted when the system is resuming.

Signature:

on($event: "resume", listener: () => void): this

Parameters:

ParameterTypeDescription
$event"resume"
listener() => voidCallback invoked when the event is emitted.

Returns: this — This PowerMonitor instance.