Collects every received input in a list, and outputs the whole list once all previous tasks are resolved (typically at the end of an upstream iteration).
- Service:
CleverAge\ProcessBundle\Task\AggregateIterableTask - Blocking task
any
array: list of all received inputs, in reception order. The task is skipped if no input was received.
This task has no option.
- Aggregate iterated values: outputs
[1, 2, 3]
# Task configuration level
data:
service: '@CleverAge\ProcessBundle\Task\ConstantIterableOutputTask'
options:
output: [1, 2, 3]
outputs: [aggregate]
aggregate:
service: '@CleverAge\ProcessBundle\Task\AggregateIterableTask'