Skip to content

Type Alias: ReplayBuffer<T>

ReplayBuffer<T> = CyclicBuffer<T> & object

Defined in: primitives/buffer.ts:433

A buffer that replays a fixed number of the most recent values to new readers.

Type Declaration

buffer

Get Signature

get buffer(): T[]

Returns

T[]

Type Parameters

T

T = any

The type of the values in the buffer.

Released under the MIT License.