IScheduler
Represents an object that schedules units of work.
Gets the scheduler's notion of current time.
Schedules an action to be executed.
IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)
Schedules an action to be executed after dueTime.
IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)
Schedules an action to be executed at dueTime.