commanded v0.4.0 Commanded.ProcessManagers.ProcessManager behaviour
Macro and behaviour to define a process manager
Summary
Callbacks
Process manager instance handles the domain event
Is the process manager interested in the given command?
Types
Callbacks
Specs
handle(process_manager, domain_event) :: process_manager
Process manager instance handles the domain event
Specs
interested?(domain_event) ::
{:start, uuid} |
{:continue, uuid} |
false
Is the process manager interested in the given command?