Protected Readonly_Protected ReadonlycontractCreates and validates an event matching the contract's accept specification.
The event configuration object
Optionalextensions: TExtensionOptional additional properties for the event
A validated ArvoEvent matching the contract's accept specification
Creates a completion event for the orchestration flow. Uses the contract's configured complete event type from metadata.
Completion event configuration
Optionalextensions: TExtensionOptional additional properties
Validated completion event
Creates and validates an event matching one of the contract's emit specifications.
The event configuration object
Optionalextensions: TExtensionOptional additional properties for the event
A validated ArvoEvent matching the specified emit type
Initializes a new orchestration event, handling parent-child subject relationships.
Event configuration without type/schema/subject
Optionalextensions: TExtensionOptional additional properties
Validated orchestration event with proper subject hierarchy
Creates a system error event for error reporting and handling.
The error event configuration
The Error instance to convert to an event
Optionaldomain?: string | nullThe Error instance to convert to an event
Optionalsubject?: stringOptionalextensions: TExtensionOptional additional properties for the event
A system error ArvoEvent
Factory class for creating and validating orchestrator-specific events with managed subject hierarchies. Extends ArvoEventFactory with parent-child subject relationship handling and orchestration flows.
Example