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

ReactiveUI.Primitives.Advanced.ChooseWitness<TIn, TOut>

public sealed class ChooseWitness<TIn, TOut> : IObserver<TIn>, IDisposable
Applies the chooser to each value and forwards only the chosen ones.
public ChooseWitness(IObserver<TOut> downstream, Func<TIn, ValueTuple<bool, TOut>> chooser)

Applies the chooser to each value and forwards only the chosen ones.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(TIn value)

public void SetSubscription(IDisposable subscription)

Assigns the upstream subscription.