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

System.Reactive.Concurrency.IScheduler

public interface IScheduler
namespace System.Reactive.Concurrency { public interface IScheduler { DateTimeOffset Now { get; } IDisposable Schedule<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, Func<IScheduler, TState, IDisposable> action); IDisposable Schedule<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action); IDisposable Schedule<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action); } }