ReactiveUI.Primitives.Concurrency.Sequencer
Provides built-in sequencers for scheduling work over time.
Gets a sequencer that schedules work as soon as possible on the current thread.
Gets the default queueing sequencer for background work.
Gets a sequencer that schedules work immediately on the current thread.
Determines whether sequencer executes work immediately on the calling thread.
Normalizes the specified TimeSpan value to a positive value.
public static IDisposable Schedule<TState>(ISequencer scheduler, TState state, Func<ISequencer, TState, IDisposable> action)
Schedules an action to be executed on scheduler.
public static IDisposable Schedule<TState>(ISequencer scheduler, TState state, Action<TState> action)
Schedules a stateful action on scheduler without capturing state in a closure.
public static IDisposable Schedule<TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Func<ISequencer, TState, IDisposable> action)
Schedules an action on scheduler after a relative due time.
public static IDisposable Schedule<TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Action<TState> action)
Schedules a stateful action on scheduler after a relative due time.
public static IDisposable Schedule<TState>(ISequencer scheduler, TState state, long dueTimestamp, Action<TState> action)
Schedules a stateful action on scheduler at a monotonic timestamp.
public static IDisposable Schedule<TState>(ISequencer scheduler, TState state, DateTimeOffset dueTime, Func<ISequencer, TState, IDisposable> action)
Schedules an action on scheduler at an absolute wall-clock due time.
Schedules an action on scheduler.
Schedules an action on scheduler after the specified relative due time.
Schedules an action on scheduler at the specified absolute due time.
Schedules a recursive action on scheduler.
public static IDisposable ScheduleAction<TState>(ISequencer scheduler, TState state, Action<TState> action)
Schedules a stateful action on scheduler.
public static IDisposable ScheduleAction<TState>(ISequencer scheduler, TState state, Func<TState, IDisposable> action)
Schedules a stateful disposable-returning action on scheduler.
public static IDisposable ScheduleAction<TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Action<TState> action)
Schedules a stateful action on scheduler after the specified relative due time.
public static IDisposable ScheduleAction<TState>(ISequencer scheduler, TState state, TimeSpan dueTime, Func<TState, IDisposable> action)
Schedules a stateful disposable-returning action on scheduler after the specified relative due time.
public static IDisposable ScheduleAction<TState>(ISequencer scheduler, TState state, DateTimeOffset dueTime, Action<TState> action)
Schedules a stateful action on scheduler at the specified absolute due time.
public static IDisposable ScheduleAction<TState>(ISequencer scheduler, TState state, DateTimeOffset dueTime, Func<TState, IDisposable> action)
Schedules a stateful disposable-returning action on scheduler at the specified absolute due time.