ReactiveUI.Primitives.Advanced.FromEnumerableSignal<T>
public sealed class FromEnumerableSignal<T> : IRequireCurrentThread<T>, IObservable<T>, IInlineSignal<T>
Represents a finite signal backed by an enumerable sequence.
Initializes a new instance of the FromEnumerableSignal<T> class.
Initializes a new instance of the FromEnumerableSignal<T> class.
public static FromEnumerableSignal<T> Create(IEnumerable<T> values, CancellationToken cancellationToken)
Creates a signal over values, attaching cancellationToken only when it can be canceled.
Indicates whether subscription has to happen on the calling thread.
Enumerates the source into observer on the calling thread, completing it at the end.
Enumerates the source into the callbacks on the calling thread, invoking onCompleted at the end.
Exposes the backing sequence directly when it is an indexable list and no cancellation token was supplied.