trait EventHandler[State, Event] extends AnyRef
FunctionalInterface for reacting on events having been persisted
Used with EventHandlerBuilder to setup the behavior of a EventSourcedBehavior
- Annotations
- @FunctionalInterface()
- Source
- EventHandler.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- EventHandler
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def apply(state: State, event: Event): State