ReactiveUI.Primitives.Advanced.DispatchSequencerState
Queues immediate work into posted batches and schedules delayed work through the supplied delegates.
namespace ReactiveUI.Primitives.Advanced
{
public struct DispatchSequencerState : IEquatable<DispatchSequencerState>
{
public static DateTimeOffset Now { get; }
public static long Timestamp { get; }
public DispatchSequencerState(ISequencer owner, Func<Action, bool> post, Action drain);
public DispatchSequencerState(ISequencer owner, Func<Action, bool> post, Action drain, Action<IWorkItem, long> scheduleDelayed);
public static TimeSpan DelayUntil(long dueTimestamp);
public static void RunIfActive(IWorkItem item);
public void Schedule(IWorkItem item);
public void Schedule(IWorkItem item, long dueTimestamp);
public void PostDrain();
public void RunDrain();
public static bool operator !=(DispatchSequencerState left, DispatchSequencerState right);
public static bool operator ==(DispatchSequencerState left, DispatchSequencerState right);
public bool Equals(DispatchSequencerState other);
}
}