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

ReactiveUI.Primitives.Extensions.ScanWithInitialObservable<TSource, TAccumulate>

public sealed class ScanWithInitialObservable<TSource, TAccumulate> : IObservable<TAccumulate>
Emits the initial value followed by each accumulation result, terminating if the accumulator throws.
public ScanWithInitialObservable(IObservable<TSource> source, TAccumulate initial, Func<TAccumulate, TSource, TAccumulate> accumulator)

Emits the initial value followed by each accumulation result, terminating if the accumulator throws.

public IDisposable Subscribe(IObserver<TAccumulate> observer)