endless.core.data

Members list

Type members

Classlikes

final case class EventsFolder[S, E](state: Option[S], applier: EventApplier[S, E])

Convenience data type bundling state and event application (folding) function

Convenience data type bundling state and event application (folding) function

Type parameters

E

event

S

state

Value parameters

applier

event application function

state

state value

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

type Folded[E, A] = Either[String, (Chain[E], A)]

Type alias for either an error or a tuple of events chain and value

Type alias for either an error or a tuple of events chain and value

Type parameters

A

value

E

event

Attributes