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

ReactiveUI.Primitives.Signals.TapWithSignal<T, TState>

public sealed class TapWithSignal<T, TState> : IRequireCurrentThread<T>, IObservable<T>
Invokes the supplied action with each source value and state, then forwards the value unchanged.
public TapWithSignal(IObservable<T> source, TState state, Action<TState, T> onNext)

Invokes the supplied action with each source value and state, then forwards the value unchanged.

Determines whether the sink must subscribe on the current thread.

public IDisposable Subscribe(IObserver<T> observer)

Subscribes the observer to the tapped sequence.