Skip to content

Explicit Job Lifecycle

Stable ID: example.explicit-state-machine
Kind: worked-example
Status: stable
Source: skill/references/examples/reuse-intelligence/explicit-state-machine.md

Purpose

Worked example replacing interacting booleans with tested event-driven state transitions.

Use when

  • A concrete example would clarify the related component or pattern decision.

Avoid when

  • The example assumptions differ materially from the consuming system.

Applicability

  • Languages: any, python, cpp, rust, dart-flutter, typescript
  • Related entries: pattern.state-machine