beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

RingBuffer Op

Ops.Array.RingBuffer


RingBuffer
Namespace: Ops.Array

Op author: pandur

Array of fixed size, index is automatically incremented and restarts after reaching the end


summary (oneliner)

doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Value (Number)

The value to add


Write (Trigger)

Writes the value to the array


Length (Number)

The length of the array


Reset Index (Trigger)

Resets the index, so the next time Write is triggered it will write to the beginning of the buffer


Outputs

Result (Array)

The output array


Index (Number)

The index of the last element which has been written to the buffer


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

ringbuffer

Open Example In Editor


Patches using RingBuffer