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

ReactiveUI.Primitives.Advanced.UnfoldSignal<TState, TResult>

public sealed class UnfoldSignal<TState, TResult> : IRequireCurrentThread<TResult>, IObservable<TResult>, IInlineSignal<TResult>
Signal that walks a state machine synchronously, emitting one projected value per iteration.
public UnfoldSignal(TState initialState, Func<TState, bool> condition, Func<TState, TState> iterate, Func<TState, TResult> resultSelector)

Signal that walks a state machine synchronously, emitting one projected value per iteration.

public IDisposable Subscribe(IObserver<TResult> observer)

public IDisposable Subscribe(Action<TResult> onNext, Action<Exception> onError, Action onCompleted)