<PackageReference Include="ReactiveUI.Primitives.Core" Version="10.2.0" />

ReactiveUI.Primitives.Advanced.BlockingValueWitness<T>

public sealed class BlockingValueWitness<T> : IObserver<T>
Observer used by the value-returning WaitFor path: captures the last value, signals the gate on terminal, swallows errors (caller's timeout / default reflects outcome).
public T Result { get; }

Gets the most recent value seen.

Observer used by the value-returning WaitFor path: captures the last value, signals the gate on terminal, swallows errors (caller's timeout / default reflects outcome).

public static IEnumerable<T> ToEnumerable(IObservable<T> source)

Blocks until source completes and returns the observed values.

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)