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

RingBuffer
op id:38b77ea5-b44b-48b3-9433-09a83753a209
Array of fixed size, index is automatically incremented and restarts after reaching the end

summary (oneliner)

doc

issues

youtube id

collections

related ops

Inputs

Value (Number)

The value to add


Write (Function)

Writes the value to the array


Length (Number)

The length of the array


Reset Index (Function)

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


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using RingBuffer

Public Patches using RingBuffer