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:

Parameter Type Description
event "resume" The event name.
listener () => void Callback invoked when the event is emitted.

Returns: thisThis PowerMonitor instance.