Configuration object for the orchestrator
Contract definitions for the orchestrator and its services
Optional
executionunits?: numberResource allocation cost for this orchestrator's execution (default: 0)
Versioned orchestration logic handlers mapped by semantic version
Generic memory interface for state persistence, locking, and retrieval operations
Optional
requiresEnable distributed locking for concurrent safety (default: auto-determined by service count)
Optional
systemThe domain override of the system error events. (default [event.domain, self.contract.domain, null])
Optional
types?: { Optional type hints for better TypeScript inference
Optional
context?: Partial<TMemory>A new ArvoResumable orchestrator instance configured with the provided parameters
Factory function for creating ArvoResumable orchestrator instances
Creates a new ArvoResumable orchestrator with type safety and sensible defaults. ArvoResumable provides handler-based workflow orchestration with explicit context management, contract validation, and distributed locking capabilities.
Throws
Service contracts have duplicate URIs - Multiple versions of the same contract are not allowed
Throws
Circular dependency detected - Self contract is registered as a service, creating execution loops