Optional
requiresOptional
systemReadonly
contractsReadonly
executionunitsReadonly
handlerReadonly
sourceUnique identifier for the event handler source system
Readonly
syncOptional
Readonly
systemAbstract
systemProvides the schema for system error events.
An object containing the error event type and schema.
This getter should define the structure for system error events that may be emitted when an unexpected error occurs during event handling.
type
: A string representing the error event type.schema
: The schema definition for the error event.Protected
createCreates emittable event from execution result
Source event to emit
OpenTelemetry headers
Parent orchestration subject
Original triggering event
The self versioned contract
The id of the event which initiated the orchestration in the first place
The domain of the event.
Executes the orchestration workflow for an incoming event
The triggering event to process
OpenTelemetry configuration for trace inheritance
Object containing domained events
Protected
validate
ArvoResumable - A stateful orchestration handler for managing distributed workflows
ArvoResumable provides a handler-based approach to workflow orchestration that prioritizes explicit control and simplicity over declarative abstractions. It excels at straightforward request-response patterns and linear workflows while maintaining full type safety and contract validation throughout the execution lifecycle.
This class addresses fundamental issues in event-driven architecture including:
Key capabilities:
Unlike state machine approaches, ArvoResumable uses imperative handler functions that provide direct control over workflow logic. This makes debugging easier and reduces the learning curve for teams familiar with traditional programming patterns.
See