Function: createIpcServiceHelpers()
createIpcServiceHelpers(
serviceName:string,options:CreateIpcServiceHelpersOptions):GuardedIpcServiceHelpers
Defined in: src/services/utils/createIpcServiceHelpers.ts:162
Creates helper utilities that enforce guarded access to window.electronAPI.
Parametersโ
serviceNameโ
string
Human-readable service name used for log messages.
optionsโ
CreateIpcServiceHelpersOptions = {}
Optional configuration overrides.
Returnsโ
Helper functions for building guarded IPC service methods.
Remarksโ
Each helper waits for waitForElectronBridge before executing the wrapped handler and logs failures using the provided logger (or a console fallback). Primarily used by renderer services to standardize preload access.