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

ReactiveUI.Primitives.Advanced.TakeUntilSignal<T, TOther>

public sealed class TakeUntilSignal<T, TOther> : IObservable<T>
Dedicated signal for TakeUntil, holding both the source and the stop arm.
namespace ReactiveUI.Primitives.Advanced { public sealed class TakeUntilSignal<[System.Runtime.CompilerServices.Nullable(2)] T, [System.Runtime.CompilerServices.Nullable(2)] TOther> : IObservable<T> { public TakeUntilSignal(IObservable<T> source, IObservable<TOther> other); public static IObservable<T> Create(IObservable<T> source, IObservable<TOther> other); public static IObservable<T> CreateWithCancellation(IObservable<T> source, CancellationToken cancellationToken); public IDisposable Subscribe(IObserver<T> observer); } }