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

ReactiveUI.Primitives.Advanced.SliceRouter<TOuter, T>

public sealed class SliceRouter<TOuter, T>
Delivers the notifications of a sliced sequence to its outer observer and its windows in the order they were posted, without holding the caller's lock while any observer runs.
public SliceRouter(IObserver<TOuter> outer, SharedSubscription owner)

Initializes a new instance of the SliceRouter<T, U> class.

public void Complete(SliceWindow<T> window)

Posts the completion of a window.

public void CompleteOuter()

Posts the completion of the outer sequence while later notifications for windows are still to come.

public void Fault(SliceWindow<T> window, Exception error)

Posts the failure of a window.

public void Finish(IEnumerable<SliceWindow<T>> windows, Exception error)

Posts the terminal notification of each window in order, then the terminal notification of the outer sequence.

public void FinishWindows(IEnumerable<SliceWindow<T>> windows, Exception error)

Posts the terminal notification of each window in order, without ending the outer sequence.

public void Flush()

Delivers the posted notifications on the calling thread, or hands them to the thread already delivering.

public void Open(TOuter opened)

Posts a window or group for delivery to the outer observer.

public void Publish(SliceWindow<T> window, T value)

Posts a value for delivery to a window.