commanded v0.10.0 Commanded.Helpers.Commands.CommandHandler
Summary
Functions
Apply the given command to the event-sourced aggregate root
Functions
Apply the given command to the event-sourced aggregate root.
You must return a list containing the pending events, or nil
/ []
when no events produced.
You should return {:error, reason}
on failure.
Callback implementation for Commanded.Commands.Handler.handle/2
.