Props
| Prop | Type | Default | Description |
|---|---|---|---|
id | string | undefined | Optional stable id for tracking and deduping. |
maxConcurrency | number | Infinity | Max simultaneous children. Remaining tasks queue until a slot opens. |
skipIf | boolean | false | Skip the entire group. Returns null; no children are mounted. |
children | ReactNode | undefined | Tasks and control-flow components to execute concurrently. |
Basic usage
Limiting concurrency
Combining with Sequence
<Sequence> groups run in parallel. Within each, tasks run sequentially.
Conditional skipping
Rendering
<Parallel> renders as a <smithers:parallel> host element (or null when skipped). Each child receives parallelGroupId and parallelMaxConcurrency in its task descriptor.
Notes
- Omitting
maxConcurrency(or settingInfinity) starts all children simultaneously. - The group completes when all children finish (or fail, if
continueOnFailis set on individual tasks). - Nestable inside
<Sequence>,<Branch>,<Loop>, or another<Parallel>. - An empty
<Parallel>is valid and completes immediately.