ExGAM.Domain.Sequencer.Control (ExGAM v0.1.0)

Copy Markdown View Source

Process-control invariants shared by Domain command workflows.

A fatal durable-state error marks the current state and asks the owning GenServer to stop. The supervisor can then rebuild from the ledger; a Domain is never left alive while permanently refusing work.

Summary

Functions

Marks the first fatal reason and schedules termination of the owning Sequencer.

Functions

halt(state, reason)

Marks the first fatal reason and schedules termination of the owning Sequencer.