ReactiveUI.Primitives.Concurrency.HandlerSequencer
Android sequencer that coalesces scheduled work onto the thread backing a Handler (typically the
main/UI looper). Immediate work is batched through a single cached IRunnable drain, so the
per-post path allocates nothing; delayed work uses the native PostDelayed.
namespace ReactiveUI.Primitives.Concurrency
{
public sealed class HandlerSequencer : ISequencer
{
public static HandlerSequencer Main { get; }
public Handler Handler { get; }
public DateTimeOffset Now { get; }
public long Timestamp { get; }
public HandlerSequencer(Handler handler);
public void Schedule(IWorkItem item);
public void Schedule(IWorkItem item, long dueTimestamp);
}
}