File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,20 @@ testable, and easy to replay.
1212- Hierarchical states: model parent/child flows supported.
1313- Optional design-time tooling: generate Mermaid diagrams from your builder code.
1414
15+ ## Main Use Case
16+
17+ The driving scenario for this library was for a way to declare and design behaviour
18+ for components that operate within an actor model.
19+
20+ Actor instances are brought into existence, rehydrated from persisted state, triggered
21+ by messages, perform actions, and then persist their state again. Whilst the actor instance
22+ may be reused, this is not guaranteed, hence why state machines that expect to stay memory
23+ resident are suboptimal.
24+
25+ The advantage of using this state machine to model the behaviour is that it provides a clear
26+ and consistent mechanism between components, and can take advantage of analysis tools such
27+ as detecting issues with the flow logic and the ability to generate flow diagrams.
28+
1529## Features at a glance
1630
1731- Fluent configuration and validation
You can’t perform that action at this time.
0 commit comments