Type representing a function that unsubscribes from events.
The type of the event listener payload.
The name of the event.
The event listener to remove.
Type representing a function that unsubscribes from events.