Returns a union of methods from a listener that accepts the event data as the first argument.
The listener class constructor
The event data type
Returns a union of methods from a listener that accepts the event data as the first argument.