Packages

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventHandler
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(state: State, event: Event): State