asarfuckery/electronasar/canary/browser/api/ipc-main.js
2019-01-17 19:00:12 +01:00

10 lines
206 B
JavaScript

'use strict'
const { EventEmitter } = require('events')
const emitter = new EventEmitter()
// Do not throw exception when channel name is "error".
emitter.on('error', () => {})
module.exports = emitter