I am new to Node, and I am struggling to understand the main difference between Events and Functions. Both need to be triggered, so why do we need an Event at all if we have
I suppose I see the biggest difference I see is that an event emitter could trigger multiple events that are listening, whereas just calling a function only triggers one thing.
So for example, you could have numerous objects in a game that are all waiting for a step event that increments their animation.
They are such a pain to debug though that I'd much rather just use functions.