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

ReactiveUI.Primitives.Advanced.SliceOpeningWitness<T, TOpening, TClosing>

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