Package akka.persistence.typed.javadsl
Interface EventHandler<State,Event>
-
public interface EventHandler<State,Event>
FunctionalInterface for reacting on events having been persistedUsed with
EventHandlerBuilder
to setup the behavior of aEventSourcedBehavior
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description State
apply(State state, Event event)
-