Class FfiStreamResultInstruction<TCallback, TResult>
- Namespace
- LiveKit
Generic yield instruction for one-shot FFI callbacks that carry either a StreamError or a typed success value.
public class FfiStreamResultInstruction<TCallback, TResult> : YieldInstruction where TCallback : class
Type Parameters
TCallbackThe protobuf callback type (e.g. TextStreamReaderReadAllCallback).
TResultThe success value type (e.g. string, byte[]).
- Inheritance
-
FfiStreamResultInstruction<TCallback, TResult>
- Derived
- Inherited Members
- Extension Methods
Properties
Error
public StreamError Error { get; }
Property Value
ResultValue
protected TResult ResultValue { get; }
Property Value
- TResult