package data
Linear Supertypes
Type Members
- final case class EventsFolder[S, E](state: Option[S], applier: EventApplier[S, E]) extends Product with Serializable
Convenience data type bundling state and event application (folding) function
Convenience data type bundling state and event application (folding) function
- S
state
- E
event
- state
state value
- applier
event application function
- type Folded[E, A] = Either[String, (Chain[E], A)]
Type alias for either an error or a tuple of events chain and value