Package dev.siroshun.event4j.api.listener
package dev.siroshun.event4j.api.listener
A package of the listener related interfaces.
-
ClassDescriptionListenerExceptionHandler<K,
E, O> An interface to handle the exception that is thrown fromSubscribedListener.consumer()
.The operations that indicates what theEventCaller
should do nextListenerFactory<K,E, O> An interface to create/subscribe a listener.ListenerSubscriber<K,E, O> An interface to subscribe/unsubscribe listeners.An interface for subscribing multiple listeners at once.SubscribedListener<K,E, O> An interface to hold the subscribed listener.