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

11 lines
206 B
JavaScript
Raw Normal View History

2019-06-20 21:19:08 +00:00
'use strict'
const { EventEmitter } = require('events')
const emitter = new EventEmitter()
2019-06-16 20:19:06 +00:00
// Do not throw exception when channel name is "error".
2019-06-20 21:19:08 +00:00
emitter.on('error', () => {})
module.exports = emitter