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

ThreadPoolScheduler

Represents an object that schedules units of work on the Windows Runtime thread pool.
public static ThreadPoolScheduler Default { get; }

Gets the singleton instance of the Windows Runtime thread pool scheduler.

public static ThreadPoolScheduler Instance { get; }

Gets the singleton instance of the Windows Runtime thread pool scheduler.

public WorkItemOptions Options { get; }

Gets the options that configure how work is scheduled.

public WorkItemPriority Priority { get; }

Gets the priority at which work is scheduled.

Constructs a ThreadPoolScheduler that schedules units of work on the Windows ThreadPool.

Constructs a ThreadPoolScheduler that schedules units of work on the Windows ThreadPool with the given priority.

Constructs a ThreadPoolScheduler that schedules units of work on the Windows ThreadPool with the given priority.

public IDisposable SchedulePeriodic<TState>(TState state, TimeSpan period, Func<TState, TState> action)

Schedules a periodic piece of work, using a Windows.System.Threading.ThreadPoolTimer object.