workflow v0.2.0 Workflow.Container

Genserver to hold Aggregates or Process Managers

Summary

Functions

get_data(container)
get_state(container)
handle_call(msg, from, state)

Handle a command (for an aggregate) or an event (for the process manager)

handle_cast(msg, state)

Replay the events from the eventstore db

mutate_state(module, data, event)
process_message(container, message)
start_link(module, uuid)