Function: registerIpcHandle()
function registerIpcHandle(
channel: GenericInvokeChannel,
handler: IpcCallback
): void;
Defined in: main/ipc/ipcRegistry.ts:47
Registers an IPC handler ensuring the previous handler is safely removed first.
Parametersβ
channelβ
handlerβ
Returnsβ
void
Throwsβ
Re-throws registration errors for new ipcMain instances.