Module swim.api

Interface OnEvent

  • All Superinterfaces:
    swim.concurrent.Preemptive
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface OnEvent
    extends swim.concurrent.Preemptive
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onEvent​(swim.warp.EventMessage message)  
      • Methods inherited from interface swim.concurrent.Preemptive

        isPreemptive
    • Method Detail

      • onEvent

        void onEvent​(swim.warp.EventMessage message)