A simple an basic implementation for creating and handling well-defined events by providing control about event triggering, subscription, and handling (Typescript included)