Skip to content

ElectronApp.on('continue-activity-error') method

ElectronApp › on(‘continue-activity-error’)

Unofficial

Registers a listener for the continue-activity-error event.

Emitted during Handoff when an activity from a different device fails to be resumed. macOS only.

Signature:

on(event: "continue-activity-error", listener: (event: ElectronEvent, type: string, error: string) => void): this

Parameters:

Parameter Type Description
event "continue-activity-error" The event name.
listener (event: ElectronEvent, type: string, error: string) => void The event handler.

Returns: thisThis ElectronApp instance.