State-machine workflow convenience API.
This layer keeps workflows explicit: start a flow in a state, claim due work, transition to the next state, or finish with complete/fail/retry.
Summary
Functions
Installs this workflow's Flow policy.
Types
Functions
@spec install_policy( t(), keyword() ) :: FerricStore.Flow.PolicySnapshot.t() | {:error, term()}
Installs this workflow's Flow policy.
Workflow declarations replace the stored policy by default. Pass
replace: false to request an explicit deep patch, and use
expected_generation for compare-and-swap installation.