
Create an event emitter that lets you launch asynchronous events to teammates..


Create an event emitter that lets you launch asynchronous events to teammates..
A fun test that should help you to think outside the box. For this event emitter you need to use Ecmascript 6 classes. The test requires you to implement two methods: subscribe and emit.
Subscribe is quite intuitive: it just takes the name of an event and then the callback that we want to attach to that particular name. You have also to implement an unsuscribe process inside this method. The Emits function is the one that you used to call the function that you have subscribed too.
A simple subscription system with a practical utility that will allow you to show your Javascript skills and at the same time demonstrate your imagination when solving it.
ABOUT THE CREATOR
Flavio Corpa is a TOP software engineer, with expertise in Haskell and Elm, that works at a consultancy called 47 Degrees.
He is a Javascript expert with more than 8 years of experience and frequent speaker at national and international events and conferences.
Ready to challenge yourself and build something you're proud of?