Skip to content

@statesync/electron


@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

ParameterTypeDescription
channelstringThe IPC channel name whose handler should be removed.

Returns

void

Released under the MIT License.