Skip to content

DelayableNotificationSignal class

Defined in

Namespace: ReactiveUI.Primitives.Signals Assembly: ReactiveUI.Primitives.Core.dll Full name: ReactiveUI.Primitives.Signals.DelayableNotificationSignal<T> Modifiers: public sealed

Summary

View source

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.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Class hierarchy
classDiagram
class DelayableNotificationSignal~T~
class ISignal~T~ {
    <>
}
ISignal~T~ <|.. DelayableNotificationSignal~T~
class ISignal~T, T~ {
    <>
}
ISignal~T, T~ <|.. DelayableNotificationSignal~T~
class IObserver~T~ {
    <>
}
IObserver~T~ <|.. DelayableNotificationSignal~T~
class IObservable~T~ {
    <>
}
IObservable~T~ <|.. DelayableNotificationSignal~T~
class IsDisposed {
    <>
}
IsDisposed <|.. DelayableNotificationSignal~T~
class IDisposable {
    <>
}
IDisposable <|.. DelayableNotificationSignal~T~

Implements: ISignal, ISignal, IObserver, IObservable, IsDisposed, IDisposable

Constructors

NameSummary
.ctorInitializes a new instance of the [DelayableNotificationSignal](# class.

Properties

NameSummary
HasObserversGets a value indicating whether this instance has observers.
IsDisposedGets a value indicating whether this instance is disposed.

Methods

NameSummary
OnNext
OnError
OnCompleted
FlushEmits any buffered notifications as a de-duplicated batch; call when the delay window opens or closes.
Subscribe
Dispose
Inherited members