Table of Contents

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

TCallback

The protobuf callback type (e.g. TextStreamReaderReadAllCallback).

TResult

The success value type (e.g. string, byte[]).

Inheritance
FfiStreamResultInstruction<TCallback, TResult>
Derived
Inherited Members
Extension Methods

Properties

Error

public StreamError Error { get; }

Property Value

StreamError

ResultValue

protected TResult ResultValue { get; }

Property Value

TResult