arvo-event-handler
    Preparing search index...

    Function createArvoOrchestrator

    • Creates a new Arvo orchestrator instance with default components.

      Factory function that constructs an orchestrator with standard execution engine and registry implementations. Validates that all machines share the same source identifier and have unique versions.

      Parameters

      • params: CreateArvoOrchestratorParam

        Configuration parameters for the orchestrator

      Returns ArvoOrchestrator

      Configured ArvoOrchestrator instance ready for event handling

      When no machines are provided

      When machines have different source identifiers

      When machines have duplicate versions

      const orchestrator = createArvoOrchestrator({
      memory: new SimpleMachineMemory(),
      machines: [userOnboardingMachine, paymentMachine]
      });

      // Process events
      const result = await orchestrator.execute(event);