<PackageReference Include="System.Reactive" Version="7.0.0-rc.1" />

System.Reactive.Concurrency.ThreadPoolScheduler

namespace System.Reactive.PlatformServices { public class PeriodicTimerSystemClockMonitor : INotifySystemClockChanged { public event EventHandler<SystemClockChangedEventArgs> SystemClockChanged; public PeriodicTimerSystemClockMonitor(TimeSpan period); } } 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); } } namespace System.Reactive.PlatformServices { public static class SystemClock { public static DateTimeOffset UtcNow { get; } public static void AddRef(); public static void Release(); } }