asarfuckery/electronasar/canary/browser/ipc-main-internal.js

11 lines
206 B
JavaScript
Raw Normal View History

2019-05-18 17:55:03 +00:00
'use strict'
const { EventEmitter } = require('events')
const emitter = new EventEmitter()
2019-02-06 20:27:58 +00:00
// Do not throw exception when channel name is "error".
2019-05-18 17:55:03 +00:00
emitter.on('error', () => {})
module.exports = emitter