<PackageReference Include="System.Reactive" Version="4.2.0-preview.566" />

CoreDispatcherScheduler

Represents an object that schedules units of work on a CoreDispatcher.
public static CoreDispatcherScheduler Current { get; }

Gets the scheduler that schedules work on the CoreDispatcher associated with the current Window.

public CoreDispatcher Dispatcher { get; }

Gets the CoreDispatcher associated with the CoreDispatcherScheduler.

Gets the priority at which work is scheduled.

Constructs a CoreDispatcherScheduler that schedules units of work on the given CoreDispatcher.

Constructs a CoreDispatcherScheduler that schedules units of work on the given CoreDispatcher with the given priority.

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

Schedules a periodic piece of work on the dispatcher, using a DispatcherTimer object.