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

11 lines
206 B
JavaScript
Raw Normal View History

2019-01-17 18:22:05 +00:00
'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