Class MultiRingBufferReadableStream

The MultiRingBuffer is a ring buffer implementation that allows multiple independent readers.

These readers are created using the getReader or getStream functions to create a reader that can be read using deq() or one that is a readable stream.

Hierarchy

  • Readable
    • MultiRingBufferReadableStream

Implements

  • Disposable

Constructors

Properties

disposed: boolean = false
encoding: BufferEncoding = 'utf8'
more: boolean = false
reader: number
ringBuffer: MultiRingBuffer

Methods