Skip to content

ReactiveUI.Primitives.Async.Advanced namespace

Part of the ReactiveUI.Primitives.Async.Core package.

TypeKindSummary
AsyncEnumerableSignalclassAn observable that emits values from an asynchronous enumerable for each subscription.
AsyncEnumerableSubscriptionclassA subscription that emits the contents of an asynchronous enumerable.
AsyncSerialGateclassAsynchronous mutual-exclusion primitive that serializes critical sections in the async pipeline. Uncontended acquire is a pure CompareExchange (no SemaphoreSlim touch); the contended path waits on a signal-only semaphore and retries the CAS after each signal. Same-thread reentry is granted via the owner-thread-id and a recursion counter.
BackgroundJobSignalclassAn observable that runs a supplied asynchronous job for each subscription.
CallbackWitnessAsyncclassAn witness that routes notifications through user-supplied asynchronous callbacks.
DoOnSubscribeAsyncSignalclassAn observable that invokes an asynchronous side effect before subscribing to its source.
DoOnSubscribeSignalclassAn observable that invokes a synchronous side effect before subscribing to its source.
EnumerableSignalclassAn observable that emits values from an enumerable for each subscription.
EnumerableSubscriptionclassA subscription that emits the contents of an enumerable.
FlatMapCoordinatorclassCoordinates outer and inner subscriptions for flat-map operations.
FlatMapSignalclassAn observable that projects source values to inner observables and merges those inner observables.
FlatMapWitnessclassOuter observer that projects source values to inner observables.
FlatMapWitnessclassInner observer that relays projected values to a flat-map coordinator.
ForwardingWitnessAsyncclassBase observer that forwards every notification to a downstream observer.
FromAsyncSignalclassAn observable that invokes an asynchronous value factory for each subscription.
FromAsyncSubscriptionclassA subscription that invokes an asynchronous value factory and emits its result.
IReentrantAsyncDisposableinterfaceAn async-disposable that can be disposed from within its own in-flight notification.
IntervalSignalclassAn observable that emits incrementing ticks at a fixed interval.
IntervalSubscriptionclassA subscription that emits incrementing ticks at a fixed interval.
LeadSignalclassAn observable that emits leading values before subscribing to the source sequence.
LeadSubscriptionclassSubscription that emits leading values and then relays the source sequence.
LeasestructReleases a previously acquired [AsyncSerialGate](# when disposed.
LogErrorsSignalclassAn observable that logs resumable errors without changing the source sequence.
LogErrorsWitnessclassAn observer that logs resumable errors before forwarding them downstream.
PooledDelaySourceclassPoolable IValueTaskSource used by DelayAsync for the non-System TimeProvider code path. Replaces the per-call TaskCompletionSource + Task + CancellationTokenRegistration allocation chain with a rented-then-returned instance. The wrapped ManualResetValueTaskSourceCore is the standard poolable async-primitive shape from System.Threading.Tasks.Sources.
ReattemptSignalclassAn observable that resubscribes to the source after terminal failures.
ReattemptSubscriptionclassCoordinates retry subscriptions for [ReattemptSignal](#
ReattemptWitnessclassObserver for a single retry attempt.
RelayWitnessAsyncclassRelays notifications from the base observer pipeline to another asynchronous observer.
SequenceSignalclassAn observable that emits a contiguous integer sequence for each subscription.
SequenceSubscriptionclassA subscription that emits a contiguous integer sequence.
SingleElementWitnessclassShared observer used by both SingleAsync and SingleOrDefaultAsync. The two operator surfaces previously held near-identical observer classes; the only behavioural difference is whether an empty sequence throws or returns a caller-supplied default. That difference is now a single flag on this type, so the OnNext / OnErrorResume / OnCompleted bodies live in one place.
StartSignalclassAn observable that invokes a synchronous function and emits its result for each subscription.
StartSubscriptionclassA subscription that invokes a synchronous function and emits its result.
SyncLatest10CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-10 SyncLatest operator.
SyncLatest10SignalclassAsync observable that combines the latest values from ten source sequences using a selector.
SyncLatest10StatestructBundles the source observables for the arity-10 SyncLatest operator.
SyncLatest11CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-11 SyncLatest operator.
SyncLatest11SignalclassAsync observable that combines the latest values from eleven source sequences using a selector.
SyncLatest11StatestructBundles the source observables for the arity-11 SyncLatest operator.
SyncLatest12CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-12 SyncLatest operator.
SyncLatest12SignalclassAsync observable that combines the latest values from twelve source sequences using a selector.
SyncLatest12StatestructBundles the source observables for the arity-12 SyncLatest operator.
SyncLatest13CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-13 SyncLatest operator.
SyncLatest13SignalclassAsync observable that combines the latest values from thirteen source sequences using a selector.
SyncLatest13StatestructBundles the source observables for the arity-13 SyncLatest operator.
SyncLatest14CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-14 SyncLatest operator.
SyncLatest14SignalclassAsync observable that combines the latest values from fourteen source sequences using a selector.
SyncLatest14StatestructBundles the source observables for the arity-14 SyncLatest operator.
SyncLatest15CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-15 SyncLatest operator.
SyncLatest15SignalclassAsync observable that combines the latest values from fifteen source sequences using a selector.
SyncLatest15StatestructBundles the source observables for the arity-15 SyncLatest operator.
SyncLatest16CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-16 SyncLatest operator.
SyncLatest16SignalclassAsync observable that combines the latest values from sixteen source sequences using a selector.
SyncLatest16StatestructBundles the source observables for the arity-16 SyncLatest operator.
SyncLatest2CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-2 SyncLatest operator.
SyncLatest2SignalclassAsync observable that combines the latest values from two source sequences using a selector.
SyncLatest2StatestructBundles the source observables for the arity-2 SyncLatest operator.
SyncLatest3CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-3 SyncLatest operator.
SyncLatest3SignalclassAsync observable that combines the latest values from three source sequences using a selector.
SyncLatest3StatestructBundles the source observables for the arity-3 SyncLatest operator.
SyncLatest4CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-4 SyncLatest operator.
SyncLatest4SignalclassAsync observable that combines the latest values from four source sequences using a selector.
SyncLatest4StatestructBundles the source observables for the arity-4 SyncLatest operator.
SyncLatest5CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-5 SyncLatest operator.
SyncLatest5SignalclassAsync observable that combines the latest values from five source sequences using a selector.
SyncLatest5StatestructBundles the source observables for the arity-5 SyncLatest operator.
SyncLatest6CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-6 SyncLatest operator.
SyncLatest6SignalclassAsync observable that combines the latest values from six source sequences using a selector.
SyncLatest6StatestructBundles the source observables for the arity-6 SyncLatest operator.
SyncLatest7CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-7 SyncLatest operator.
SyncLatest7SignalclassAsync observable that combines the latest values from seven source sequences using a selector.
SyncLatest7StatestructBundles the source observables for the arity-7 SyncLatest operator.
SyncLatest8CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-8 SyncLatest operator.
SyncLatest8SignalclassAsync observable that combines the latest values from eight source sequences using a selector.
SyncLatest8StatestructBundles the source observables for the arity-8 SyncLatest operator.
SyncLatest9CoordinatorclassCoordinates subscriptions and latest-value emission for the arity-9 SyncLatest operator.
SyncLatest9SignalclassAsync observable that combines the latest values from nine source sequences using a selector.
SyncLatest9StatestructBundles the source observables for the arity-9 SyncLatest operator.
SyncLatestCoordinatorBaseclassShared scaffolding for the arity-specific CombineLatestN subscription types. Each per-arity SyncLatestCoordinator derives from this class so the otherwise-identical [SyncLatestLifecycle](# wiring (gate / dispose CTS / external link), the values-lock, the source-subscribe loop, the error-resume forwarder, and [DisposeAsync](# live here once instead of repeated 15× across CombineLatest2..16.
SyncLatestEnumerableCoordinatorclassCoordinates subscriptions and projected snapshot emission for enumerable SyncLatest sources.
SyncLatestEnumerableSignalclassAsync observable that combines latest values from an enumerable of sources and projects through a selector.
SyncLatestEnumerableWitnessclassPer-source observer for enumerable SyncLatest sources.
SyncLatestIndexedWitnessclassPer-source [WitnessAsync](# used by every CombineLatestN subscription. The per-arity class previously declared N hand-rolled OnNextN / OnCompletedN method pairs whose bodies differed only in which Optional<TN> field they wrote and which completion bit they passed to the lifecycle. Pre-building N of these witnesses at subscription time keeps the typing exact and eliminates the per-source method declarations from the per-arity files. The closure cost (one delegate per source for the value-write) is paid once at subscribe and not per emission; the actual per-emission cost is one indirect delegate invoke under the values-lock.
SyncLatestLifecycleclassShared subscription lifecycle for the arity-specific CombineLatestN operators (2..16) and the enumerable variant. Each per-arity SyncLatestCoordinator composes one instance of this class (has-a, not is-a) and forwards lifecycle / error / gating work into it, so the previously-duplicated infrastructure (gate, dispose CTS, external-link registration, observer fan-out, completion-bitmask handling) lives in one place.
SyncLatestWitnessclassPer-source observer used by arity-specific SyncLatest coordinators to record typed source values and forward source terminal notifications to the shared lifecycle.
TakeUntilLifecycleclassShared subscription lifecycle for the TakeUntil family of operators (CancellationToken / Task / raw-signal / async-observable / async-predicate variants). Each per-trigger Subscription composes one instance of this class (has-a, not is-a) and forwards forward-on-next / -error / -completed plus external-cancellation linking into it, so the previously-duplicated infrastructure (gate, dispose CTS, external-link registration, gated observer fan-out) lives in one place.
TakeUntilSourceWitnessclassShared [WitnessAsync](# implementation that forwards every source notification straight into a [TakeUntilLifecycle](# instance. Used by every per-trigger TakeUntil Subscription so the per-operator inner-class shells (which previously held identical three-method forwarders) collapse into a single shared type.
TaskResultCompletionSourceclassCoordinates task completion for terminal observers and disposes the owning subscription when complete.
TaskResultSignalclassAn observable that emits the result of a task for each subscription.
TaskResultSubscriptionclassA subscription that awaits a task and emits its result.
TaskResultWitnessAsyncBaseclassBase class for witnesses that produce a single task-based result value when the observed sequence completes.
TaskSignalSubscriptionclassProvides factory methods for creating and starting cancelable task-based subscriptions.
TaskSignalSubscriptionclassRepresents an asynchronous subscription that can be cancelled and disposed, managing the lifecycle of an observer and its associated operations.
TimerSignalclassAn observable that emits one or more timer ticks.
TimerSubscriptionclassA subscription that emits one or more timer ticks.
UsingSignalclassAn observable that creates and disposes an asynchronous resource for each subscription.
UsingWitnessclassObserver that disposes a resource with the source subscription.