Class TextStreamReader.ReadIncrementalInstruction
- Namespace
- LiveKit
YieldInstruction for ReadIncremental().
public sealed class TextStreamReader.ReadIncrementalInstruction : ReadIncrementalInstructionBase<string>
- Inheritance
-
TextStreamReader.ReadIncrementalInstruction
- Inherited Members
- Extension Methods
Remarks
Usage: loop yielding the instruction; when it resumes, break if IsEos is true (the stream has ended and every chunk has been drained), otherwise read Text and call Reset to advance to the next chunk.
Properties
Text
public string Text { get; }