electron/lib/browser/api/ipc-main.ts

9 lines
217 B
TypeScript
Raw Normal View History

import { IpcMainImpl } from '@electron/internal/browser/ipc-main-impl'
2016-01-11 18:40:23 -08:00
const ipcMain = new IpcMainImpl()
// Do not throw exception when channel name is "error".
ipcMain.on('error', () => {})
2016-12-01 14:43:30 -08:00
export default ipcMain