Skip to content

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

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

Unofficial

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

Emitted during Handoff before an activity from a different device wants to be resumed. macOS only.

Signature:

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

Parameters:

ParameterTypeDescription
$event"will-continue-activity"
listener($event: ElectronEvent, type: string) => voidThe event handler.

Returns: this — This ElectronApp instance.