<PackageReference Include="ReactiveUI.Primitives.Core" Version="7.3.0" />

ReactiveUI.Primitives.Extensions.Operators.FirstMatchFromCandidatesObservable<TKey, TRaw, TResult>

public sealed class FirstMatchFromCandidatesObservable<TKey, TRaw, TResult> : IObservable<TResult>
Walks a list of candidate keys sequentially, projects each into a one-shot IObservable<T>, transforms the raw value into TResult, and emits the first transformed value that satisfies a predicate. Errors from individual projections are swallowed (the candidate is skipped and the next one is tried). If no candidate matches, completes with a single emission of fallback.
public sealed class SyncProbe<TKey, TRaw, TResult> : IObserver<TRaw>

Lightweight observer used by the synchronous fast-path to capture the result of a one-shot projection. Cheaper than AsyncSink because it carries no downstream observer, candidate list, or delegate references.

public FirstMatchFromCandidatesObservable(IReadOnlyList<TKey> candidates, Func<TKey, IObservable<TRaw>> project, Func<TRaw, TResult> transform, Func<TResult, bool> predicate, TResult fallback)

Walks a list of candidate keys sequentially, projects each into a one-shot IObservable<T>, transforms the raw value into TResult, and emits the first transformed value that satisfies a predicate. Errors from individual projections are swallowed (the candidate is skipped and the next one is tried). If no candidate matches, completes with a single emission of fallback.

public IDisposable Subscribe(IObserver<TResult> observer)