Skip to main content

Function: waitForElectronBridge()

function waitForElectronBridge(
options?: WaitForElectronBridgeOptions
): Promise<void>;

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

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.