startup MethodStatic

Initialize the backend of an Electron app. This method configures the backend for all of the inter-process communication (RPC and IPC) for an Electron app. It should be called from your Electron main function.

startup(opts?: ElectronHostOpts): Promise<void>

@note This method must only be called from the backend of an Electron app (i.e. when ProcessDetector.isElectronAppBackend is true).

Parameter Type Description
opts ElectronHostOpts Options that control aspects of your backend.

Returns - Promise

Defined in

Last Updated: 14 November, 2024