View Source Franklin.CommandedApplication (Franklin v0.1.0)
Link to this section Summary
Functions
Retrieve aggregate state of an aggregate.
Callback implementation for Commanded.Application.config/0
.
Callback implementation for Commanded.Application.start_link/1
.
Callback implementation for Commanded.Application.stop/2
.
Link to this section Functions
Link to this function
aggregate_state(aggregate_module, aggregate_uuid, timeout \\ 5000)
View Source@spec aggregate_state( aggregate_module :: module(), aggregate_uuid :: Commanded.Aggregates.Aggregate.uuid(), timeout :: integer() ) :: Commanded.Aggregates.Aggregate.state()
Retrieve 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.
@spec child_spec(opts :: Commanded.Application.options()) :: Supervisor.child_spec()
Callback implementation for Commanded.Application.config/0
.
Callback implementation for Commanded.Application.start_link/1
.
Callback implementation for Commanded.Application.stop/2
.