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

ReactiveUI.Primitives.Advanced.SliceClosingWitness<T, TClosing>

public sealed class SliceClosingWitness<T, TClosing> : IObserver<T>, IDisposable
Sink that hands out a window signal that ends when its own closing signal emits or completes.
namespace ReactiveUI.Primitives.Advanced { public sealed class SliceClosingWitness<[System.Runtime.CompilerServices.Nullable(2)] T, [System.Runtime.CompilerServices.Nullable(2)] TClosing> : IObserver<T>, IDisposable { public SharedSubscription Subscription { get; } public SliceClosingWitness(IObserver<IObservable<T>> observer, Func<IObservable<TClosing>> closingSelector); public void Start(); public void OnNext(T value); public void OnError(Exception error); public void OnCompleted(); public void SetSubscription(IDisposable subscription); public void Dispose(); } }