ReactiveUI.Primitives.Extensions.ConcurrencyLimiter<T>
Limits the concurrency of task execution and emits results through an observable sequence.
Implements IObservable<T> directly so the surface needs no
ActionDisposable closure wrappers; the per-task continuation state is the
per-subscription Subscription instance, which is already a reference type
and therefore needs no boxing through Object.
namespace ReactiveUI.Primitives.Extensions
{
public sealed class ConcurrencyLimiter<[Nullable(2)] T> : IObservable<T>
{
public IObservable<T> Observable { get; }
public ConcurrencyLimiter(IEnumerable<Task<T>> taskFunctions, int maxConcurrency);
public IDisposable Subscribe(IObserver<T> observer);
}
}