flowstdlib 0.142.0

The standard library of functions and flows for 'flow' programs
Documentation
function = "accumulate"
source = "accumulate.rs"
docs = "accumulate.md"
type = "rust"

[[input]]
name = "values" # - The stream of input values to accumulate into an array

[[input]]
name = "partial" # - A partial array, to use in the accumulation, adding next input `value` to it

[[input]]
name = "chunk_size" # - The size of the array we want to create
type = "number"

[[output]]
name = "chunk" # - The accumulated array of inputs of size `limit` or more
type = "array/"

[[output]]
name = "partial" # - The partially accumulated array, of size smaller than `chunk_size`

[[output]]
name = "chunk_size" # - The chunk-size, output for use downstream or in loop-back
type = "number"