public interface IUiDispatcher Dispatches synchronous actions on the presentation's UI thread.
Methods
CheckAccess
bool CheckAccess() Whether the caller is on the UI thread.
InvokeAsync
ValueTask InvokeAsync(Action action, CancellationToken cancellationToken = default) Runs an action once while the presentation remains valid.