abstract class EventAdapter[E, P] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- EventAdapter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new EventAdapter()
Type Members
-
type
Per = P
Type of the event to persist
Abstract Value Members
-
abstract
def
fromJournal(p: Per): E
Transform the event on recovery from the journal.
Transform the event on recovery from the journal. Note that this is not called in any read side so will need to be applied manually when using Query.
-
abstract
def
toJournal(e: E): Per
Transform event on the way to the journal