TData The type of data that the event carries, extending the basic event structure with specific data fields relevant to the state machine's operation.
Attributes:
__data
: Custom data specific to the event, enhancing the event with additional context or metadata
necessary for the state transitions or actions.__cloudevent
: A CloudEvent that encapsulates the event data in a standardized format, ensuring consistency
and interoperability of event data across different systems and services.Generated using TypeDoc
Defines a basic event object structure for a state machine, integrating custom data with standard event properties from the xState library and a CloudEvent for standard event formatting across systems.