package es
- Alphabetic
- Public
- All
Type Members
-
trait
EventState[F[_], E, A] extends AnyRef
An atomic reference that can only be modified through a linear application of events.
An atomic reference that can only be modified through a linear application of events. When you create one, all events are processed with the pre-supplied function you give it during construction. Then, on every call to
doNext, the state is atomically updated and returned to you. -
sealed
trait
EventStateCache[F[_], K, E, A] extends AnyRef
Caches EventState values by key, allowing you to use event-sourced state repeatedly.
-
trait
EventStateTopic[F[_], E, A] extends EventState[F, E, A]
An
EventStateimplementation that lets yousubscribeto incoming events. -
trait
SignallingEventState[F[_], E, A] extends EventState[F, E, A]
An
EventStateimplementation that lets you continuously monitor state changes.An
EventStateimplementation that lets you continuously monitor state changes. If you are looking to get every single state change, look intoEventStateTopicinstead. This is strictly for scenarios where you don't necessarily want every change, but want the latest changes regularly.
Value Members
- object EventState
- object EventStateCache