ReactiveUI.Primitives.Signals.DelayableNotificationSignal<T>
public sealed class DelayableNotificationSignal<T> : ISignal<T>, ISignal<T, T>, IObserver<T>, IObservable<T>, IsDisposed, IDisposable
A signal that passes notifications through immediately while they are not delayed, but buffers them while delayed
and emits a de-duplicated batch when Flush is called (typically as the delay window opens or closes).
Fuses the Buffer(boundary).SelectMany(distinct).Publish().RefCount() pipeline into one allocation-light sink.
namespace ReactiveUI.Primitives.Signals
{
public sealed class DelayableNotificationSignal<[Nullable(2)] T> : ISignal<T>, ISignal<T, T>, IObserver<T>, IObservable<T>, IDisposable
{
public bool HasObservers { get; }
public bool IsDisposed { get; }
public DelayableNotificationSignal(Func<bool> isDelayed, Func<IList<T>, IEnumerable<T>> flushDistinct);
public void OnNext(T value);
public void OnError(Exception error);
public void OnCompleted();
public void Flush();
public IDisposable Subscribe(IObserver<T> observer);
public void Dispose();
}
}