public interface EventListener extends java.util.function.Consumer
A marker interface to make writing the EventBus cleaner, and to standardize the vocabulary of the package.
interface java.util.function.Consumer
java.util.function.Consumer#accept(java.lang.Object), java.util.function.Consumer#andThen(java.util.function.Consumer)
Groovy Documentation