trait CommandHandler[Command, Event, State] extends AnyRef

FunctionalInterface for reacting on commands

Used with CommandHandlerBuilder to setup the behavior of a EventSourcedBehavior

Annotations
@FunctionalInterface()
Source
CommandHandler.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandHandler
  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. Protected

Abstract Value Members

  1. abstract def apply(state: State, command: Command): Effect[Event, State]