Dataminr Interview Question

Implement an event emitter