Table of Contents

Class TextStreamReader.ReadIncrementalInstruction

Namespace
LiveKit

YieldInstruction for ReadIncremental().

public sealed class TextStreamReader.ReadIncrementalInstruction : StreamYieldInstruction
Inheritance
TextStreamReader.ReadIncrementalInstruction
Inherited Members
Extension Methods

Remarks

Usage: while IsEos is false (i.e. the stream has not ended), call Reset, yield the instruction, and then access Text.

Properties

Error

Error that occurred on the last read, if any.

public StreamError Error { get; }

Property Value

StreamError

IsError

True if an error occurred on the last read.

public bool IsError { get; }

Property Value

bool

Text

public string Text { get; }

Property Value

string