To remove the need to synchronize the emit() function of Emitter we should investigate threadsafe collections instead of the current ArrayList as the buffer.
Care must be taken that when multiple threads are accessing Tracker.track() that we do not drop events.
To remove the need to
synchronizetheemit()function ofEmitterwe should investigate threadsafe collections instead of the currentArrayListas thebuffer.Care must be taken that when multiple threads are accessing
Tracker.track()that we do not drop events.