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:

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

Returns: thisThis ElectronApp instance.