ReactiveUI.Primitives.Concurrency.Sequencer
Provides built-in sequencers for scheduling work over time.
namespace ReactiveUI.Primitives.Concurrency
{
public static class Sequencer
{
public static CurrentThreadSequencer CurrentThread { get; }
public static ImmediateSequencer Immediate { get; }
public static ISequencer Default { get; }
public static TimeSpan Normalize(TimeSpan timeSpan);
public static bool IsImmediate(ISequencer sequencer);
public static IDisposable Schedule<[Nullable(2)] TState>(ISequencer scheduler, TState state, Func<ISequencer, TState, IDisposable> action);
public static IDisposable Schedule<[Nullable(2)] TState>(ISequencer scheduler, TState state, Action<TState> action);
public static IDisposable Schedule<[Nullable(2)] TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Func<ISequencer, TState, IDisposable> action);
public static IDisposable Schedule<[Nullable(2)] TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Action<TState> action);
public static IDisposable Schedule<[Nullable(2)] TState>(ISequencer scheduler, TState state, long dueTimestamp, Action<TState> action);
public static IDisposable Schedule<[Nullable(2)] TState>(ISequencer scheduler, TState state, DateTimeOffset dueTime, Func<ISequencer, TState, IDisposable> action);
public static IDisposable Schedule(ISequencer scheduler, Action action);
public static IDisposable Schedule(ISequencer scheduler, TimeSpan dueTime, Action action);
public static IDisposable Schedule(ISequencer scheduler, DateTimeOffset dueTime, Action action);
public static IDisposable Schedule(ISequencer scheduler, Action<Action> action);
public static IDisposable ScheduleAction<[Nullable(2)] TState>(ISequencer scheduler, TState state, Action<TState> action);
public static IDisposable ScheduleAction<[Nullable(2)] TState>(ISequencer scheduler, TState state, Func<TState, IDisposable> action);
public static IDisposable ScheduleAction<[Nullable(2)] TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Action<TState> action);
public static IDisposable ScheduleAction<[Nullable(2)] TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Func<TState, IDisposable> action);
public static IDisposable ScheduleAction<[Nullable(2)] TState>(ISequencer scheduler, TState state, DateTimeOffset dueTime, Action<TState> action);
public static IDisposable ScheduleAction<[Nullable(2)] TState>(ISequencer scheduler, TState state, DateTimeOffset dueTime, Func<TState, IDisposable> action);
}
}