ListenerHandle
represents a direct access to an event type listeners, they are stored inside the node and must be retrieved for the listeners to be executedEventNode#call(Event)
is as simple as retrieving the handle (through a map lookup) and executing ListenerHandle#call(Event)
. As you may have realize, you could completely avoid the map lookup by directly using the handle, hence why EventNode#getHandle(Class<Event>)
exists!