ipc-main-internal.ts 255 B

123456
  1. import { IpcMainImpl } from '@electron/internal/browser/ipc-main-impl';
  2. export const ipcMainInternal = new IpcMainImpl() as ElectronInternal.IpcMainInternal;
  3. // Do not throw exception when channel name is "error".
  4. ipcMainInternal.on('error', () => {});