Function: createVoidInvoker()
function createVoidInvoker<TChannel>(
channel: TChannel,
options?: IpcInvokeOptions
): (...args: IpcInvokeChannelParams<TChannel>) => Promise<void>;
Defined in: electron/preload/core/bridgeFactory.ts:630
Creates a typed IPC invoker that returns void
Type Parameters
TChannel
TChannel extends VoidIpcInvokeChannel
Parameters
channel
TChannel
The IPC channel name
options?
Returns
A function that safely invokes the IPC channel and validates void response
(...args: IpcInvokeChannelParams<TChannel>) => Promise<void>