Skip to content

ElectronApp.on('activity-was-continued') method

ElectronApp › on(‘activity-was-continued’)

Unofficial

Registers a listener for the activity-was-continued event.

Emitted during Handoff after an activity from this device was successfully resumed on another one. macOS only.

Signature:

on(event: "activity-was-continued", listener: (event: ElectronEvent, type: string, userInfo: unknown) => void): this

Parameters:

ParameterTypeDescription
event"activity-was-continued"The event name.
listener(event: ElectronEvent, type: string, userInfo: unknown) => voidThe event handler.

Returns: thisThis ElectronApp instance.