Skip to main content

Buffer

Buffers incoming events in an array. Flushes the array on receiving a release event.

component image

In-ports​

reset Boolean — resets Buffer by discarding all accumulated values.

input <any> — input values to be added to Buffer

release <any> — triggers flushing Buffer.

Out-ports​

output <any> — emits an array of accumulated values when Buffer is flushed.

Overview​

Buffer component accumulates input values into an array in the order they arrive. Flushing the array is triggered by an event on the release port. This component is useful when you need to collect events coming at different times or as a temporary storage of data on the way to other components.

Settings​

No additional configuration is required.