ReactiveUI.Primitives.Advanced.SinkTerminal
Shared terminal-forwarding helpers for single-source sink observers. Each sink computes a
single result and forwards it downstream exactly once, disposing itself afterwards. Centralizing the
forward-then-dispose using scope — and the done latch that guards it — keeps the
individual sinks to their distinguishing accumulation logic and removes the otherwise-identical terminal boilerplate.
namespace ReactiveUI.Primitives.Advanced
{
public static class SinkTerminal
{
public static void Fault<[System.Runtime.CompilerServices.Nullable(2)] TResult>(IObserver<TResult> observer, Exception error, IDisposable sink);
public static void Fault<[System.Runtime.CompilerServices.Nullable(2)] TResult>(IObserver<TResult> observer, Exception error, IDisposable sink, ref bool done);
public static void Complete<[System.Runtime.CompilerServices.Nullable(2)] TResult>(IObserver<TResult> observer, TResult value, IDisposable sink);
public static void Complete<[System.Runtime.CompilerServices.Nullable(2)] TResult>(IObserver<TResult> observer, TResult value, IDisposable sink, ref bool done);
public static void Complete<[System.Runtime.CompilerServices.Nullable(2)] TResult>(IObserver<TResult> observer, IDisposable sink);
public static void Complete<[System.Runtime.CompilerServices.Nullable(2)] TResult>(IObserver<TResult> observer, IDisposable sink, ref bool done);
}
}