12.2 Where it lives
A machine gets a folder, as a train does, in the library beside the trains (Organize machines in a project):
Shopfront.Core/
└── Machines/
└── Checkout/
├── CheckoutMachine.cs the states, the events and the rules on them
├── CheckoutState.cs
├── CheckoutTrigger.cs
├── CheckoutContext.cs what a checkout holds
└── Models/ each event's input, and what the context is made ofSDK Reference
Machine | Rules | AddStateMachines | Machines over GraphQL | UsePersistedOperations | trax CLI
Next: 12.3 Packages