System.Reactive.Concurrency.LocalScheduler
Abstract base class for machine-local schedulers, using the local system clock for time-based operations.
namespace System.Reactive.Concurrency
{
public abstract class LocalScheduler : IScheduler, IStopwatchProvider, IServiceProvider
{
public virtual DateTimeOffset Now { get; }
public virtual IDisposable Schedule<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, Func<IScheduler, TState, IDisposable> action);
public abstract IDisposable Schedule<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action);
public virtual IDisposable Schedule<[System.Runtime.CompilerServices.Nullable(2)] TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action);
public virtual IStopwatch StartStopwatch();
protected virtual object GetService(Type serviceType);
protected LocalScheduler();
}
}