Parallel Element
Element for concurrent state execution
Parallel Element
Coming soon: This feature is not yet available. Please check back soon.
The <parallel> element enables concurrent execution of multiple states:
| Prop | Type | Default |
|---|---|---|
id? | string | - |
Allowed Children
transition: State transitionsstate: Child stateshistory: History pseudo-statesdatamodel: Data model declarationsinvoke: Service invocations
Examples
Basic Parallel Processing
Resource Management
Service Orchestration
Usage Notes
- All child states execute concurrently
- Useful for independent processes
- Can share data through parent scope
- Transitions can span parallel regions