Optional
__extensions?: TExtensionCustom extensions for the CloudEvent. Allows for additional metadata to be attached to the event.
Optional
accesscontrol?: stringDefines access controls for the event. Can be a UserID, encrypted string, or key-value pairs.
The event payload. This payload must be JSON serializable.
Optional
dataschema?: stringIdentifies the schema that the data
adheres to.
Must be a valid URI if present.
Optional
domains?: ("default" | string)[]Processing domains for event routing and orchestration control.
Domains enable the orchestrator to categorize events into distinct processing buckets, allowing for specialized routing, prioritization, and handling workflows. Events without explicit domains are automatically assigned to the 'default' domain for standard internal processing.
Multiple domain assignment allows events to participate in parallel processing flows, enabling sophisticated orchestration patterns.
Optional
executionunits?: numberRepresents the cost associated with generating the cloudevent.
Optional
id?: stringUnique identifier of the event. Must be a non-empty string. If not provided, a UUID will be generated.
Optional
redirectto?: stringIndicates alternative recipients or destinations for events. Must be a valid URI if present.
Optional
source?: stringIdentifies the context in which an event happened. Must be a valid URI representing the event producer.
Optional
subject?: stringIdentifies the subject of the event. For Arvo, this must be the Process Id.
By default, it is the actor subject id, and it is recommended to let that be the case. In rare cases, such as sending init events to a different orchestrator, you might need to explicitly provide it. Otherwise, it's best not to use this field directly to maintain consistency in event subject identification.
Optional
to?: stringDefines the consumer machine of the event. Used for event routing.
Must be a valid URI if present. If not available, the type
field
is used as a default.
Describes the type of event. Should be prefixed with a reverse-DNS name.
Represents the parameters for the emitArvoEvent action in ArvoXState. This type defines a subset of properties from the CreateArvoEvent type, specifically tailored for emitting an ArvoEvent within the state machine context.