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

ReactiveUI.Primitives.Signals.KeepSignal<T>

public sealed class KeepSignal<T> : IRequireCurrentThread<T>, IObservable<T>
Signal that forwards only the source values the predicate accepts.
public KeepSignal(IObservable<T> source, Func<T, bool> predicate)

Signal that forwards only the source values the predicate accepts.

Preserves the source's current-thread subscription requirement.

public IDisposable Subscribe(IObserver<T> observer)

Subscribes an observer to source values accepted by the predicate.