Theia API Documentation v1.65.0
    Preparing search index...

    Interface ReadableBufferedStream<T>

    A stream that has a buffer already read. Returns the original stream that was read as well as the chunks that got read.

    The ended flag indicates if the stream has been fully consumed.

    interface ReadableBufferedStream<T> {
        buffer: T[];
        ended: boolean;
        stream: ReadableStream<T>;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    buffer: T[]

    An array of chunks already read from this stream.

    ended: boolean

    Signals if the stream has ended or not. If not, consumers should continue to read from the stream until consumed.

    stream: ReadableStream<T>

    The original stream that is being read.