Generic typed interface for defining a typed listener function.
Listener
This function is called in case of an event.
The typed event parameter.
The returned value of the function will be ignored.
Generic typed interface for defining a typed listener function.
Listener