Function: createVoidInvoker()
createVoidInvoker<
TChannel>(channel:TChannel,options?:IpcInvokeOptions): (...args:IpcInvokeChannelParams<TChannel>) =>Promise<void>
Defined in: electron/preload/core/bridgeFactory.ts:635
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>