Readonly
contractsReadonly
idReadonly
logicReadonly
requiresReadonly
versionGets the event type that this machine accepts, as defined in its contract.
Validates an event against the machine's contracts and data schemas. Performs validation for both self-contract events and service contract events.
The event to validate
See validateInputEvent for more infromation
Optional
span: Span
Represents an ArvoMachine object that can be consumed by an Arvo orchestrator. ArvoMachine encapsulates the logic and metadata required for an Arvo-compatible state machine. It combines XState's actor logic with Arvo-specific contracts and versioning information.
It is strongly recommended to use
setupArvoMachine(...).createMachine(...)
instead of creating this object directly. The setup function provides additional type safety and validation that helps prevent runtime errors.