UNPKG

arvo-event-handler

Version:

Type-safe event handler system with versioning, telemetry, and contract validation for distributed Arvo event-driven architectures, featuring routing and multi-handler support.

9 lines (8 loc) 477 B
import type { MachineConfig } from 'xstate'; /** * Detects if an XState machine configuration contains any parallel states. * Uses a stack-based approach for efficient traversal of the state hierarchy. * @param config - XState machine configuration * @returns True if the machine contains at least one parallel state, false otherwise */ export declare const detectParallelStates: (config?: MachineConfig<any, any, any, any, any, any, any, any, any, any, any>) => boolean;