<PackageReference Include="ReactiveUI.Primitives.Core" Version="9.0.0" />

ReactiveUI.Primitives.Concurrency.IThreadAffineSequencer

public interface IThreadAffineSequencer
A sequencer that runs its work on one owning thread and can tell whether the calling thread is that thread.
bool CheckAccess()

Returns whether the calling thread may run work for this sequencer inline.