commanded v0.10.0 Commanded.ProcessManagers.ProcessManager behaviour
Behaviour to define a process manager
Summary
Callbacks
Mutate the process manager’s state by applying the domain event
Process manager instance handles the domain event, returning commands to dispatch
Is the process manager interested in the given command?
Types
Callbacks
Mutate the process manager’s state by applying the domain event
Process manager instance handles the domain event, returning commands to dispatch
interested?(domain_event)
interested?(domain_event) :: {:start, process_uuid} | {:continue, process_uuid} | {:stop, process_uuid} | false
Is the process manager interested in the given command?