registerIpcHandle
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / main/ipc/ipcRegistry / registerIpcHandle
Function: registerIpcHandle()
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β
IpcCallback
Returnsβ
void
Throwsβ
Re-throws registration errors for new ipcMain instances.