Commanded (Commanded v1.3.1) View Source
Use Commanded to build your own Elixir applications following the CQRS/ES pattern.
Provides support for:
- Defining applications.
- Command registration and dispatch.
- Hosting and delegation to aggregates.
- Event handling.
- Long running process managers.
Use Commanded with one of the following event stores for persistence:
- Elixir EventStore using PostgreSQL for persistence
- EventStore.org
Please check the Getting Started and Usage guides to learn more.
Link to this section Summary
Functions
Retrieve aggregate state of an aggregate.
Link to this section Functions
Link to this function
aggregate_state(application, aggregate_module, aggregate_uuid, timeout \\ 5000)
View SourceRetrieve aggregate state of an aggregate.
Retrieving aggregate state is done by calling to the opened aggregate, or querying the event store for an optional state snapshot and then replaying the aggregate's event stream.