Interface EventHandler<State,Event>


public interface EventHandler<State,Event>
FunctionalInterface for reacting on events having been persisted

Used with EventHandlerBuilder to setup the behavior of a EventSourcedBehavior

  • Method Summary

    Modifier and Type
    Method
    Description
    apply(State state, Event event)