2020-05-28 21:20:03 +02:00
|
|
|
const EventEmitter = require("events").EventEmitter
|
2020-05-24 23:54:08 +02:00
|
|
|
|
2020-09-10 16:00:21 +02:00
|
|
|
/**
|
|
|
|
* keeping event emitter in one central location as it might be used for things other than
|
|
|
|
* workflows (what it was for originally) - having a central emitter will be useful in the
|
|
|
|
* future.
|
|
|
|
*/
|
2020-05-31 18:12:52 +02:00
|
|
|
|
2020-09-10 16:00:21 +02:00
|
|
|
const emitter = new EventEmitter()
|
2020-05-31 18:12:52 +02:00
|
|
|
|
|
|
|
module.exports = emitter
|