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

ReactiveUI.Primitives.Extensions.Operators.DoOnSubscribeObservable<T>

public sealed class DoOnSubscribeObservable<T> : IObservable<T>
Runs an action before subscribing the observer to the source, so an exception from the action propagates out of Subscribe.
public DoOnSubscribeObservable(IObservable<T> source, Action action)

Runs an action before subscribing the observer to the source, so an exception from the action propagates out of Subscribe.

public IDisposable Subscribe(IObserver<T> observer)