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

ReactiveUI.Primitives.Signals.MapWithSignal<TSource, TState, TResult>

public sealed class MapWithSignal<TSource, TState, TResult> : IRequireCurrentThread<TResult>, IObservable<TResult>
Projects each source value using the supplied state and selector.
public MapWithSignal(IObservable<TSource> source, TState state, Func<TState, TSource, TResult> selector)

Initializes a new instance of the MapWithSignal<T, U, V> class.

public static IObservable<TResult> Create(IObservable<TSource> source, TState state, Func<TState, TSource, TResult> selector)

Creates a stateful projection sequence with empty/never short-circuiting.

Determines whether the sink must subscribe on the current thread.

public IDisposable Subscribe(IObserver<TResult> observer)

Subscribes the observer to the projected sequence.