[][src]Crate riker_es

Re-exports

pub use riker_es_macros as macros;

Structs

Commit

Commits represent changes to the system about to be persisted

Entity

Entity is an actor that handles user commands running the buissiness logic defined in the handler callback and "commit" changes of the model to the configured event store. Will also use the store to query a stored entity data applying any change that has been recorded up to the specified moment in time.

EntityId

Uniquely idenfies an entity

Manager
Store

An actor that handles the persistance of events of entities using "commits" to track who made a change and why.

Enums

CQRS
Event

Events are changes to the system generated by entities after processing other events or external commands

Query
StoreMsg

Traits

ES

Implement this trait to allow your entity handle external commands

EntityName
Model

An Aggregate is the projected data of a series of events of an entity, given an initial state update events are applied to it until it reaches the desired state.

Type Definitions

EventBus
Result
StoreRef