<PackageReference Include="System.Reactive" Version="6.1.0" />

System.Reactive.Concurrency.ThreadPoolScheduler

Represents an object that schedules units of work on the CLR thread pool.
namespace System.Reactive.Concurrency { public sealed class ThreadPoolScheduler : LocalScheduler, ISchedulerLongRunning, ISchedulerPeriodic { public static ThreadPoolScheduler Instance { get; } public IDisposable ScheduleLongRunning<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, Action<TState, ICancelable> action); public IDisposable SchedulePeriodic<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, TimeSpan period, Func<TState, TState> action); } }