2020-05-29 07:20:03 +12:00
|
|
|
const EventEmitter = require("events").EventEmitter
|
2020-05-25 09:54:08 +12:00
|
|
|
|
2020-09-11 02:00:21 +12: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-06-01 04:12:52 +12:00
|
|
|
|
2020-09-11 02:00:21 +12:00
|
|
|
const emitter = new EventEmitter()
|
2020-06-01 04:12:52 +12:00
|
|
|
|
|
|
|
module.exports = emitter
|