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-12 02:40:23 +00:00
const ipcMain = new IpcMainImpl()
// Do not throw exception when channel name is "error".
ipcMain.on('error', () => {})
2016-12-01 22:43:30 +00:00
export default ipcMain