Skip to content

SinkTerminal class

Defined in

Namespace: ReactiveUI.Primitives.Advanced Assembly: ReactiveUI.Primitives.Core.dll Full name: ReactiveUI.Primitives.Advanced.SinkTerminal Modifiers: public static

Summary

View source

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.

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

Methods

NameSummary
static FaultForwards a fault to observer and then disposes sink.
static CompleteEmits a single terminal value, completes observer, then disposes sink.
Inherited members