An Aggregator is a function that builds up an aggregate from a stream of events (effectively a fold function).
The public API for submitting commands against a given aggregate and querying where they have been successfully applied.
A command handler is responsible for accepting or rejecting commands and turning accepted commands into a list of events by applying the appropriate business logic and validations based on the current state.
Provides the initial value of an aggregate.
This functional for accepting or rejecting commands executed against an out of date view.
A CommandError explains failures.
Copyright © 2019. All rights reserved.