Type Alias RingBufferWriteCallback

RingBufferWriteCallback: (storageA: TypedArray, storageB: TypedArray) => number

Represents a callback function used in the writeCallback method of the RingBuffer class. This callback is responsible for writing data to two separate storage buffers.

Type declaration

    • (storageA: TypedArray, storageB: TypedArray): number
    • Parameters

      • storageA: TypedArray

        The first storage buffer as a typed array.

      • storageB: TypedArray

        The second storage buffer as a typed array.

      Returns number

      The number of elements that have been written to the storage buffers.

MMNEPVFCICPMFPCPTTAAATR