Aggregator
Last updated
Last updated
[flow/Aggregator]
Aggregates inputs into an array until released.
A release
signal must accompany each data
signal, bearing the same tag.
The output reflects the order as received through data
. Matching release
signals may come in any order as long as each pairs up with a data
signal.
Example:
true@1 is received via release
false@0 is received via release
"a"@0 is received via data
"b"@1 is received via data
["a", "b"]@1 is sent via aggregated
Keywords: aggregate, collect, accumulate, burst
data: any
Receives data items to be aggregated.
release: boolean
Receives flag whether to release aggregated inputs. Must be provided for each data
input signal.
aggregated: any[]
Sends the aggregated data.