Commanded v0.18.1 Commanded.Commands.ExecutionResult View Source
Contains the events and metadata created by a command succesfully executed against an aggregate.
The available fields are:
aggregate_uuid
- identity of the aggregate instance.aggregate_version
- resultant version of the aggregate after executing the command.events
- a list of the created events, may be an empty list.metadata
- an optional map containing the metadata associated with the command dispatch.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Commanded.Commands.ExecutionResult{
aggregate_uuid: String.t(),
aggregate_version: non_neg_integer(),
events: [struct()],
metadata: struct()
}
t() :: %Commanded.Commands.ExecutionResult{ aggregate_uuid: String.t(), aggregate_version: non_neg_integer(), events: [struct()], metadata: struct() }