Interface EventListener<T>
- All Known Subinterfaces:
MessageEventListener
public interface EventListener<T>
An abstraction that defines an
EventListener for receiving Zulip events.-
Method Summary
-
Method Details
-
onEvent
Actions to execute whenever an event is received. It is recommended to keep the implementation lightweight to avoid blocking the event loop for long periods.- Parameters:
event- The Zulip event received
-