<PackageReference Include="ReactiveUI.Primitives" Version="7.3.0" />

ReactiveUI.Primitives.Concurrency.CurrentThreadSequencer

public sealed class CurrentThreadSequencer : ISequencer
A sequencer that schedules work on the current thread using a trampoline queue.
public static CurrentThreadSequencer Instance { get; }

Gets the singleton instance of the current thread scheduler.

public static bool IsScheduleRequired { get; }

Gets a value indicating whether gets a value that indicates whether the caller must call a Schedule method.

public DateTimeOffset Now { get; }

Gets the scheduler's notion of current time.

public long Timestamp { get; }

Gets the scheduler's monotonic timestamp.

public IDisposable Schedule(Action action)

Schedules an action to be executed on the current-thread trampoline.

public void Schedule(IWorkItem item)

Schedules a work item to be executed.

public void Schedule(IWorkItem item, long dueTimestamp)

Schedules a work item to be executed at the specified monotonic timestamp.