Package 

Class LazyForwardingEventListener

    • Method Summary

      Modifier and Type Method Description
      Unit onEvent(EventListener.Event event) onEvent is always called from the thread the events are emitted from, which is documented for each event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LazyForwardingEventListener

        LazyForwardingEventListener(Function0<EventListener> lazyEventListener)
    • Method Detail

      • onEvent

         Unit onEvent(EventListener.Event event)

        onEvent is always called from the thread the events are emitted from, which is documented for each event. This enables you to potentially block a chain of events, waiting for some pre work to be done.