ExamplesΒΆ Below is a gallery of StateMachine examples. Looping state machine Looping state machine Async without external loop Async without external loop Traffic light machine Traffic light machine Enum campaign machine Enum campaign machine Order control machine Order control machine Reusing transitions Reusing transitions Air Conditioner machine Air Conditioner machine Persistent domain model Persistent domain model Order control machine (rich model) Order control machine (rich model) Guess the number machine Guess the number machine User workflow machine User workflow machine Lord of the Rings Quest - Boolean algebra Lord of the Rings Quest - Boolean algebra Async guess the number machine Async guess the number machine All actions machine All actions machine