@statesync/electron / ElectronIpcMainRemoveHandler
Type Alias: ElectronIpcMainRemoveHandler()
ts
type ElectronIpcMainRemoveHandler = (channel) => void;Defined in: types.ts:194
Structural type matching ipcMain.removeHandler() from Electron.
Removes the handler previously registered via ElectronIpcMainHandle for the given channel. Used during cleanup/disposal.
Process context: main process only.
Parameters
| Parameter | Type | Description |
|---|---|---|
channel | string | The IPC channel name whose handler should be removed. |
Returns
void
