Skip to main content

Function: waitForElectronBridge()

waitForElectronBridge(options: WaitForElectronBridgeOptions): Promise<void>

Defined in: src/services/utils/electronBridgeReadiness.ts:229

Waits for the preload-exposed electron bridge to become available.

Parametersโ€‹

optionsโ€‹

WaitForElectronBridgeOptions = {}

Optional polling and contract validation parameters.

Returnsโ€‹

Promise<void>

Throwsโ€‹

ElectronBridgeNotReadyError When the bridge remains unavailable after the configured attempts.