mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
10 lines
236 B
JavaScript
10 lines
236 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const EventEmitter = require('events').EventEmitter;
|
||
|
const eventEmitter = new EventEmitter();
|
||
|
|
||
|
// These method should only be used in main process
|
||
|
module.exports = {
|
||
|
emit: eventEmitter.emit,
|
||
|
on: eventEmitter.on
|
||
|
};
|