Interface ConsumableEvent<T>

  • Type Parameters:
    T - The type of event.
    All Known Implementing Classes:

    public interface ConsumableEvent<T>
    A container for an event that requires acknowledgement when the event is consumed via eventConsumed().
    • Method Detail

      • event

        T event()
        Get the event.
        the event.
      • eventConsumed

        void eventConsumed()
        Signify the event() has been consumed and any side effects have taken place.