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

ReactiveUI.Primitives.Advanced.KeepKeepWitness<T>

public sealed class KeepKeepWitness<T> : IObserver<T>, IDisposable
Forwards values accepted by both predicates.
namespace ReactiveUI.Primitives.Advanced { public sealed class KeepKeepWitness<[System.Runtime.CompilerServices.Nullable(2)] T> : IObserver<T>, IDisposable { public KeepKeepWitness(IObserver<T> observer, Func<T, bool> first, Func<T, bool> second); public void SetSubscription(IDisposable subscription); public void Dispose(); public void OnCompleted(); public void OnError(Exception error); public void OnNext(T value); } }