run

abstract fun run(event: T): EventListener.Result

Runs this listener with the given event, and returns the result.

Return

the result

Parameters

event

the event to run the listener on