replay library

Classes

AggregateFullyGeneric<TCommand, TEvent, TState, TOption>
CommandDecider<TCommand, TEvent, TState>
ComposableCommandDecider<TCommand, TEvent, TState>
ComposableEventReducer<TEvent, TState>
ComposableOptionFinder<TOption, TState>
EventReducer<TEvent, TState>
EventStorage<TEvent>
InMemoryEventStorage<TEvent>
OptionFinder<TOption, TState>

Typedefs

Aggregate<TCommand, TEvent, TState> = AggregateFullyGeneric<TCommand, TEvent, TState, dynamic>
Sets / Omits optional generic parameters. Mainly exists for backwards compatibility.
OnEventReduced<TEvent, TState> = void Function(TEvent event, TState previousState, TState updatedState)

Exceptions / Errors

InvalidCommandException
Exception thrown when a command cannot be processed.