commanded v0.10.0 Commanded.ProcessManagers.ProcessManagerInstance

Defines an instance of a process manager.

Summary

Functions

Handle the given event, using the process manager module, against the current process state

Handle the given event by delegating to the process manager module

Fetch the process state of this instance

Stop the given process manager and delete its persisted state

Functions

handle_cast(msg, state)

Handle the given event, using the process manager module, against the current process state

process_event(process_manager, event, process_router)

Handle the given event by delegating to the process manager module

process_state(process_manager)

Fetch the process state of this instance

start_link(command_dispatcher, process_manager_name, process_manager_module, process_uuid)
stop(process_manager)

Stop the given process manager and delete its persisted state.

Typically called when it has reached its final state.