find

fun <E : Event> find(eventType: EventType<E>): EventHandler<E>?

Returns null if there are no handlers for eventType.

If there is more than one handler for eventType, then a Compound is returned. When EventHandler.handle is called on the Compound it will call each handler in turn (in the order they were added). If one of the handles consumes the event, then processing stops. (i.e. later handlers do not fire).