The EventMap defining all possible events and their handlers.
Emits an event, invoking all subscribed handlers with the provided payload.
Unsubscribes a handler from a specific event.
Subscribes a handler to a specific event.
A function to unsubscribe the handler from the event.
Defines the interface for the Event Bus Channel. Provides methods to subscribe, unsubscribe, and emit events.