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

System.Reactive.Concurrency.DefaultScheduler

Represents an object that schedules units of work on the platform's default scheduler.
public static DefaultScheduler Instance { get; }

Gets the singleton instance of the default scheduler.

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

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