Type Alias ArvoOrchestratorParam

ArvoOrchestratorParam: {
    executionEngine: IMachineExectionEngine;
    executionunits: number;
    memory: IMachineMemory<MachineMemoryRecord>;
    registry: IMachineRegistry;
    requiresResourceLocking: boolean;
    spanOptions?: ArvoEventHandlerOtelSpanOptions;
    systemErrorDomain?: (string | null)[];
}

Configuration parameters for ArvoOrchestrator constructor.

Defines all required components and settings for orchestrator initialization. For simplified creation with default components, use createArvoOrchestrator.

Type declaration

  • executionEngine: IMachineExectionEngine

    Engine responsible for executing state machine logic

  • executionunits: number

    Computational cost metric assigned to orchestrator operations

  • memory: IMachineMemory<MachineMemoryRecord>

    Memory interface for state persistence and retrieval

  • registry: IMachineRegistry

    Registry for managing and resolving machine instances

  • requiresResourceLocking: boolean

    Whether to enforce resource locking for concurrent safety

  • OptionalspanOptions?: ArvoEventHandlerOtelSpanOptions

    OpenTelemetry span configuration for distributed tracing

  • OptionalsystemErrorDomain?: (string | null)[]

    Optional domains for system error event routing.

    Overrides the default fallback sequence of: [event.domain, self.contract.domain, null]

    Controls where structured sys.*.error events are emitted when uncaught exceptions occur. Supports symbolic constants from ArvoDomain.

    undefined - uses standard fallback broadcast domains