commanded v0.10.0 Commanded.ProcessManagers.ProcessRouter

Process router is responsible for starting, continuing and completing process managers in response to raised domain events.

Summary

Functions

Acknowledge successful handling of the given event by a process manager instance

Subscribe the process router to all events

Fetch the pid of an individual process manager instance identified by the given process_uuid

Functions

ack_event(process_router, event)

Acknowledge successful handling of the given event by a process manager instance

handle_cast(msg, state)

Subscribe the process router to all events

process_instance(process_router, process_uuid)

Fetch the pid of an individual process manager instance identified by the given process_uuid

start_link(process_manager_name, process_manager_module, command_dispatcher, opts \\ [])